Skip to content

Instantly share code, notes, and snippets.

View apricoton's full-sized avatar

apricoton jk apricoton

View GitHub Profile
@SalvadorP
SalvadorP / l51_artisan_tinker_user_creation.sh
Last active November 19, 2020 17:11
Laravel 5.1 how to create a user using artisan tinker and the standard user model
php artisan tinker
$user = new App\User;
$user->name="Admin";
$user->email="admin@localhost.com";
$user->password=bcrypt('1234');
$user->save();
@trusktr
trusktr / DefaultKeyBinding.dict
Last active April 21, 2024 06:32
My DefaultKeyBinding.dict for Mac OS X
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict
This file remaps the key bindings of a single user on Mac OS X 10.5 to more
closely match default behavior on Windows systems. This makes the Command key
behave like Windows Control key. To use Control instead of Command, either swap
Control and Command in Apple->System Preferences->Keyboard->Modifier Keys...
or replace @ with ^ in this file.
Here is a rough cheatsheet for syntax.
Key Modifiers
@jamesonjlee
jamesonjlee / gist:11271979
Created April 24, 2014 22:40
dynamodb local setup
sudo apt-get install openjdk-7-jre-headless -y
cd /home/ubuntu/
mkdir -p dynamodb
cd dynamodb
wget http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest
tar -xvzf dynamodb_local_latest
rm dynamodb_local_latest
mv dynamodb_local_*/ dynamodb/
@tomohiro
tomohiro / svn-to-github.md
Last active July 29, 2020 12:13
Subversion のリポジトリを Git リポジトリへ変換し GitHub に登録するまでの手順

Subversion のリポジトリを Git リポジトリへ変換し GitHub に登録するまで

Subversion ユーザ情報と Git ユーザ情報をマッチングするためのテキストファイルを作成

フォーマット:

@hirata
hirata / nelson.pl
Created December 18, 2012 05:01
Rebirth of Melody Nelson
#!/usr/bin/perl -w
package Nelson;
use strict;
use FindBin;
use lib ( "$FindBin::Bin/../lib", "$FindBin::Bin/../extlib" );
sub main {
my $class = shift;
use MT::Author;
@Gab-km
Gab-km / github-flow.ja.md
Last active April 25, 2024 04:01 — forked from juno/github-flow.ja.md
GitHub Flow (Japanese translation)