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
{ | |
"always_show_minimap_viewport": true, | |
"atomic_save": true, | |
"binary_file_patterns": | |
[ | |
"*.jpg", | |
"*.jpeg", | |
"*.png", | |
"*.gif", | |
"*.ttf", |
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
var scrollTop = window.pageYOffset | |
|| document.documentElement.scrollTop | |
|| document.body.scrollTop | |
|| 0; | |
var scrollLeft = window.pageXOffset // netscape | |
|| document.documentElement.scrollLeft | |
|| document.body.scrollLeft | |
|| 0; | |
/* |
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
set fish_pager_color_progress cyan |
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
JPEG2000 image files,00 00 00 0C 6A 50 20 20,JP2,Picture | |
3GPP multimedia files,00 00 00 14 66 74 79 70,3GP,Multimedia | |
MPEG-4 v1,00 00 00 14 66 74 79 70 69 73 6F 6D,MP4,Multimedia | |
3rd Generation Partnership Project 3GPP,00 00 00 14 66 74 79 70,3GG|3GP|3G2,Multimedia | |
Windows Disk Image,00 00 00 00 14 00 00 00,TBI,Windows | |
MPEG-4 video_1,00 00 00 18 66 74 79 70,3GP5|M4V|MP4,Multimedia | |
MPEG-4 video_2,00 00 00 1C 66 74 79 70,MP4,Multimedia | |
3GPP2 multimedia files,00 00 00 20 66 74 79 70,3GP,Multimedia | |
Apple audio and video,00 00 00 20 66 74 79 70 4D 34 41,M4A,Multimedia | |
3rd Generation Partnership Project 3GPP2,00 00 00 20 66 74 79 70,3GG|3GP|3G2,Multimedia |
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 App\Models; | |
class Model | |
{ | |
public static function withoutEvents(Closure $closure) | |
{ | |
$dispatcher = self::getEventDispatcher(); |
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 App\Http\Middleware; | |
use App; | |
use Closure; | |
use Illuminate\Http\Response; | |
class SetLocale | |
{ |
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
[General] | |
loglevel = notify | |
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12,127.0.0.0/24,100.64.0.0/10 | |
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12,127.0.0.0/24,100.64.0.0/10 | |
// DNS OVERRIDE, REMOVE # IF YOU NEED | |
# dns-server = 223.6.6.6,223.5.5.5,114.114.114.114,114.114.115.115 | |
[Rule] |
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
proxy_cache_path /tmp/nginx/cache keys_zone=one:200m | |
loader_threshold=300 loader_files=2000; | |
server { | |
listen *:80; | |
client_max_body_size 100M; | |
server_name pkg.yourdomain.com; # YOUR HOST | |
charset utf-8; | |
location / { | |
proxy_cache one; |
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
Here is a list of scopes to use in Sublime Text 2 snippets - | |
ActionScript: source.actionscript.2 | |
AppleScript: source.applescript | |
ASP: source.asp | |
Batch FIle: source.dosbatch | |
C#: source.cs | |
C++: source.c++ | |
Clojure: source.clojure | |
CSS: source.css |
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
// style the background color of the tree view | |
* { | |
// background-color: whitesmoke; | |
font-size: 11px; | |
font-family:"PingFang SC", "Helvetica Neue", "Hiragino Sans GB","Microsoft YaHei","Hiragino Kaku Gothic Pro", Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif; | |
} | |
// style the background and foreground colors on the atom-text-editor-element itself | |
atom-text-editor { |