This file contains hidden or 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
function CreateNamedFnProxy(name, fn, context) { | |
var template = [ | |
'(function @name() {', | |
' @name.fn.apply(@name.context || window, arguments);', | |
'})' | |
].join('').replace(/@name/g, name), | |
result = eval(template); | |
result.fn = fn; | |
result.context = context; |
This file contains hidden or 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
// | |
// UIImage+WebP.m | |
// | |
// Created by Brielle Harrison <[email protected]> | |
// Much inspiration for code comes from Carson McDonald | |
// his website is http://www.ioncannon.net | |
// | |
// Portions copyright by Carson McDonald fall under this license | |
// | |
// Copyright (c) 2011 Carson McDonald |
This file contains hidden or 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
// | |
// Eventable.h | |
// Copyright (c) 2013 Gabriel Harrison | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
This file contains hidden or 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
#!/bin/bash | |
# Function to determine if this script is being sourced | |
# or not. | |
function isSourced() { | |
if [ "${FUNCNAME[1]}" = source ]; then | |
echo "true" | |
else | |
echo "false" | |
fi | |
} |
This file contains hidden or 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
// | |
// NSObject+Blocks.h | |
// Filemator | |
// | |
// Created by Zachary Waldowski on 4/12/11. | |
// Copyright 2011 Dizzy Technology. All rights reserved. | |
// | |
@interface NSObject (Blocks) |
This file contains hidden or 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
#!/bin/bash | |
# Tested with wine-1.7.17 | |
# Put this script and the Wildstar.exe installer in a directory | |
# Edit the VIDEO_MEMORY_SIZE according to your graphic card. | |
# | |
# At first launch, use `./winestar.sh install` and keep the default install directory | |
# | |
# Once the launcher is downloaded you can simply use ./winestar.sh |
This file contains hidden or 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
#!/bin/bash | |
# Tested with wine-1.7.17 | |
# Put this script and the Wildstar.exe installer in a directory | |
# Edit the VIDEO_MEMORY_SIZE according to your graphic card. | |
# | |
# At first launch, use `./winestar.sh install` and keep the default install directory | |
# | |
# Once the launcher is downloaded you can simply use ./winestar.sh |
This file contains hidden or 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
div.left-right { | |
box-sizing: border-box; | |
display: inline-block; | |
font-size: 0; | |
position: relative; | |
white-space: nowrap; | |
width: 100%; | |
} | |
div.left-right div.left, |
This file contains hidden or 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
git fetch upstream | |
git reset --hard upstream/master |
This file contains hidden or 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
atom-text-editor { | |
// CRT Styling taken from https://codepen.io/lbebber/pen/XJRdrV | |
// Begin CRT Styling | |
background: #121010; | |
position: relative; | |
overflow: hidden; | |
// flicker | |
&::after { | |
content: " "; |
OlderNewer