Skip to content

Instantly share code, notes, and snippets.

View anthonywebster's full-sized avatar

anthony webster anthonywebster

View GitHub Profile
@anthonywebster
anthonywebster / Apple_mobile_device_types.txt
Created June 6, 2025 23:17 — forked from adamawolf/Apple_mobile_device_types.txt
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S
@anthonywebster
anthonywebster / app.php
Created December 28, 2021 11:26 — forked from fridolin-koch/app.php
PHP AWS SDK - S3 StreamWrapper with ACL and ContentType
<?php
//autoloader
require_once __DIR__ . '/vendor/autoload.php';
use Aws\S3\S3Client;
use Aws\S3\Enum\CannedAcl;
//init client
$s3Client = S3Client::factory(array(
'key' => '<key>',
'secret' => '<secret>',
DELIMITER $$
CREATE TRIGGER validate_count_register_user
BEFORE INSERT
ON usuarios_registros FOR EACH ROW
BEGIN
DECLARE rowcount INT;
SELECT COUNT(*)
INTO rowcount
@anthonywebster
anthonywebster / deployment_guide.md
Last active January 23, 2023 22:29 — forked from vicgonvt/deployment_guide.md
Deployment Guide for Ubuntu Server from Scratch with Laravel
@anthonywebster
anthonywebster / media-query.css
Created February 22, 2019 04:59 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@anthonywebster
anthonywebster / links
Last active August 29, 2015 14:13 — forked from carlosrenatohr/links