Skip to content

Instantly share code, notes, and snippets.

View hillbilly300's full-sized avatar
🏠
Working from home

hillbilly300

🏠
Working from home
View GitHub Profile
@hillbilly300
hillbilly300 / stuns
Created December 21, 2020 15:01 — forked from zziuni/stuns
STUN server list
# source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list
# A list of available STUN server.
stun.l.google.com:19302
stun1.l.google.com:19302
stun2.l.google.com:19302
stun3.l.google.com:19302
stun4.l.google.com:19302
stun01.sipphone.com
stun.ekiga.net
@hillbilly300
hillbilly300 / gitconfig.sh
Created October 4, 2020 22:23 — forked from pradeepsng30/gitconfig.sh
Multiple git accounts accounts
#In your ~/.gitconfig you can put something like this.
# git version > 2.13
# https://stackoverflow.com/questions/8801729/is-it-possible-to-have-different-git-config-for-different-projects/43884702#43884702
[includeIf "gitdir:~/company_a/"]
path = .gitconfig-company_a
[includeIf "gitdir:~/company_b/"]
path = .gitconfig-company_b
<?php
namespace App\Http;
/**
* Description of VideoStream
*
* @author Rana
* @link https://gist.github.com/vluzrmos/d5682ad426525196d069
*/
class CreateStates < ActiveRecord::Migration
def self.up
create_table :states do |t|
t.string :name
t.string :abbreviation
end
State.create :name => 'Alabama', :abbreviation => 'AL'
State.create :name => 'Alaska', :abbreviation => 'AK'
State.create :name => 'Arizona', :abbreviation => 'AZ'