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() { | |
console.log("Start injection script!"); | |
function breach() { | |
$(document).ready(function () { | |
console.log("Trying to fartscroll functions and audio.."); | |
var mp3 = { | |
prefix: "data:audio/mp3;base64,", | |
sound: [ |
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
{% set broodjebottomOffset = 100 %} | |
{% set totalHeight = 0 %} | |
{% set correction = 0 %} | |
<div class="broodjetop"></div> | |
{% for ingredient in className %} | |
{% set correction = - ingredient.offset - totalHeight %} | |
<div class="{{ ingredient.kind }}" style="z-index:-{{ loop.index }}; top:{{ correction }}px"></div> |
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
<?php | |
namespace ComfortFood\Service; | |
use Exception; | |
use PDO; | |
use PDOException; | |
class ConnectionService | |
{ |
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
@mixin at2x($image_name, $w: auto, $h: auto, $extention: '.png') { | |
background-image: image_url($image_name + $extention); | |
$x2img: $image_name + '@2x' + $extention; | |
@media all and (-webkit-min-device-pixel-ratio: 1.5) { | |
background-image: image_url($x2img); | |
background-size: $w $h; | |
} | |
} |
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 | |
# Counter Strike: Source | |
# Server Management Script | |
# Author: Daniel Gibbs | |
# Website: http://danielgibbs.co.uk | |
# Version: 010713 | |
### Variables #### | |
# Notification Email |
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
if [ $CONFIGURATION == Release ]; then | |
echo "Bumping build number..." | |
plist=${PROJECT_DIR}/${INFOPLIST_FILE} | |
# increment the build number (ie 115 to 116) | |
buildnum=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "${plist}") | |
if [[ "${buildnum}" == "" ]]; then | |
echo "No build number in $plist" | |
exit 2 | |
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
/* | |
* Author: WouterDS | |
* Project: Motor test | |
* Date: 28 september 2013 | |
**/ | |
// Pins | |
int motor_A_ENABLE = 2; | |
int motor_A_POWERC = 3; | |
int motor_A_POWERCC = 5; |
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
String doubleToString(double input, int decimalPlaces) | |
{ | |
if (decimalPlaces != 0) { | |
String string = String((int) (input * pow(10, decimalPlaces))); | |
if (abs(input) < 1) { | |
if (input > 0) | |
string = "0" + string; | |
else if (input < 0) | |
string = string.substring(0, 1) + "0" + string.substring(1); | |
} |
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
# xcode-build-bump.sh | |
# @desc Auto-increment the build number every time the project is run. | |
# @usage | |
# 1. Select: your Target in Xcode | |
# 2. Select: Build Phases Tab | |
# 3. Select: Add Build Phase -> Add Run Script | |
# 4. Paste code below in to new "Run Script" section | |
# 5. Drag the "Run Script" below "Link Binaries With Libraries" | |
# 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0) |