View fakelag.cpp
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
// This is not the complete code, but this is all you need to do within a createmove hook to implement your realization. | |
void CreateMoveHook(Create, Move, Arguements, Here) | |
{ | |
static int ticksToChoke = 12; | |
static int chokedTicks = 0; | |
if(SanityCheck() && chokedTicks < ticksToChoke) | |
{ | |
// Start 'Lagging' |
View showbest.js
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
// Paste in console | |
var getThings = function(){ | |
var divs = [...document.querySelectorAll("#manufacture__container > div")] | |
var things = divs.map(function(e){ | |
var result = {e}; | |
var spans = [...e.getElementsByTagName("span")] | |
spans.map(function(s){ | |
var str = s.innerText.replace(/[^/.0-9]/g, ''); | |
var a = str.split("/"); | |
var num = +a[0]; |
View ExtendedUserModel.js
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
module.exports = function (ExtendedUserModel) { | |
ExtendedUserModel.afterRemote('create', function(context, user, next) { | |
createDriver(user) | |
.then(createCustomer(user) | |
.then(sendVerificationEmail(user) | |
.then( () => next()))); | |
function createDriver(user) { | |
if (user.realm==="driver") { | |
return user.driver.create({Licensed: true}); |
View ExtendedUserModel.js
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
module.exports = function (ExtendedUserModel) { | |
ExtendedUserModel.afterRemote('create', function(context, user, next) { | |
sendVerificationEmail(user).then( () => next()); | |
function sendVerificationEmail(user) { | |
var options = { | |
type: 'mailgunEmail', | |
to: user.email, | |
from: 'noreply@mailGun.com', | |
subject: 'Thanks for registering.', |
View eltool.sh
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
#!/bin/bash | |
DIST_DEPS=0 | |
CENTOS_DEPS=0 | |
GCONF_COMPILE=0 | |
GCONF_INSTALL=0 | |
PIXBUF_INSTALL=0 | |
PIXBUF_COMPILE=0 |
View ombi.sh
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
#!/bin/bash | |
echo 'Starting automated Ombi Migration' | |
echo 'Downloading...', | |
cd /tmp/ | |
apt-get -y install libunwind8 | |
mkdir /opt/ombi | |
wget https://ci.appveyor.com/api/buildjobs/e9gylkx5j5ty8jty/artifacts/linux.tar.gz | |
echo '\t [Done]' | |
echo 'Extracting...', | |
tar xvzf linux.tar.gz -C /opt/ombi |
View imdb_class.php
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 | |
/** | |
* PHP IMDb.com Grabber | |
* | |
* This PHP library enables you to scrap data from IMDB.com. | |
* | |
* | |
* If you want to thank me for this library, please buy me something at Amazon: | |
* https://www.amazon.de/gp/registry/wishlist/8840JITISN9L/ - thank you in |
View spark.sh
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
#!/bin/bash | |
apt-get update -y | |
apt-get install default-jdk -y | |
apt-get install git -y | |
wget http://mirror.cc.columbia.edu/pub/software/apache/spark/spark-2.2.1/spark-2.2.1-bin-hadoop2.7.tgz | |
mkdir /usr/local/share/spark | |
tar xvfz spark-2.2.1-bin-hadoop2.7.tgz -C /usr/local/share/spark | |
cd /usr/local/share/spark |
View ombi_autoinstall.sh
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
#!/bin/bash | |
echo 'Starting automated Ombi Migration' | |
echo 'Downloading...', | |
cd /tmp/ | |
apt-get -y install libunwind8 | |
mkdir /opt/ombi | |
wget https://ci.appveyor.com/api/buildjobs/ucvh6jksnjkgs54h/artifacts/linux.tar.gz | |
echo '\t [Done]' | |
echo 'Extracting...', |
View .gitlab-ci.yml
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
deploy-app: | |
type: deploy | |
environment: ionic-deployment | |
only: | |
- development | |
- master | |
- production | |
when: manual | |
script: | |
## |
OlderNewer