This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Acme | |
class Post extends Model | |
{ | |
protected $table = 'posts'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# KE | |
SAFARICOM: "/(\+?254|0|^){1}[-. ]?[7]{1}([0-2]{1}[0-9]{1}|[9]{1}[0-2]{1})[0-9]{6}\z/" | |
AIRTEL: "/(\+254|0|^){1}[-. ]?[7]{1}([3]{1}[0-9]{1}|[8]{1}[5-9])[0-9]{6}\z/" | |
# TZ | |
TIGO: "/(\+?255|0|^){1}[-. ]?([7]{1}[1]{1}[2-9]{1}|[6]{1}[57]{1}[2-9]{1})[0-9]{6}\z/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# =================== YOUR DATA ======================== | |
SERVER_NAME="some-server-name" | |
SERVER_IP="111.111.11.11" | |
USER="someuser" | |
SUDO_PASSWORD="secret-password-one" | |
MYSQL_ROOT_PASSWORD="secret-password-two" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Setup Dropbox Oauth Access Token | |
# https://www.dropbox.com/developers/apps | |
DROPBOX_ACCESS_TOKEN= | |
cd ~ | |
git clone https://github.com/andreafabrizi/Dropbox-Uploader.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Sublime Text 3 Serial key build is 3176 | |
> * Added these lines into /etc/hosts | |
127.0.0.1 www.sublimetext.com | |
127.0.0.1 license.sublimehq.com | |
> * Used the license key | |
----- BEGIN LICENSE ----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ /Library/Application\ Support/VMware\ Tools/vmware-resolutionSet 1366 768 | |
1366 = Width | |
768 = Height | |
Done. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* deploy.php by Hayden Schiff (oxguy3) | |
* Available at https://gist.github.com/oxguy3/70ea582d951d4b0f78edec282a2bebf9 | |
* | |
* No rights reserved. Dedicated to public domain via CC0 1.0 Universal. | |
* See https://creativecommons.org/publicdomain/zero/1.0/ for terms. | |
*/ | |
// random string of characters; must match the "Secret" defined in your GitHub webhook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// Place your settings in the file "Packages/User/Preferences.sublime-settings", | |
// which overrides the settings in here. | |
// | |
// Settings may also be placed in syntax-specific setting files, for | |
// example, in Packages/User/Python.sublime-settings for python files. | |
{ | |
// Sets the colors used within the text area | |
"color_scheme": "Monokai.sublime-color-scheme", | |
// Note that the font_face and font_size are overridden in the platform |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Shortcuts | |
alias pbcopy='xclip -selection clipboard' | |
alias pbpaste='xclip -selection clipboard -o' | |
alias copyssh="pbcopy < $HOME/.ssh/id_rsa.pub" | |
alias shrug="echo '¯\_(ツ)_/¯' | pbcopy" | |
alias c="clear" | |
# Directories | |
alias gohome="cd $HOME/code" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################ | |
# GRAYLOG CONFIGURATION FILE | |
############################ | |
# | |
# This is the Graylog configuration file. The file has to use ISO 8859-1/Latin-1 character encoding. | |
# Characters that cannot be directly represented in this encoding can be written using Unicode escapes | |
# as defined in https://docs.oracle.com/javase/specs/jls/se8/html/jls-3.html#jls-3.3, using the \u prefix. | |
# For example, \u002c. | |
# | |
# * Entries are generally expected to be a single line of the form, one of the following: |
OlderNewer