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
FROM ubuntu:16.04 | |
RUN apt-get -y update && apt-get install -y php7.0-fpm php7.0-cli php7.0-curl php7.0-gd php7.0-intl php7.0-zip php7.0-pgsql build-essential git gcc make re2c libpcre3-dev php7.0-dev curl | |
RUN curl -sS http://getcomposer.org/installer | php | |
RUN mv composer.phar /usr/local/bin/composer | |
RUN composer global require "phalcon/zephir:dev-master" | |
RUN mkdir -p /opt/www |
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
-url:https://api.callstats.io/static/callstats-ws.min.js -url:https://auth.callstats.io/authenticate -url:chrome-extension://invalid/ -url:https://wp.dh.codesign2.co.uk/wp-content/plugins/digital-venue/assets/vue.js -url:https://meet.jit.si/external_api.js -url:https://web-cdn.jitsi.net/meetjitsi_5107.1757/libs/app.bundle.min.js?v=5107.1757 -url:https://web-cdn.jitsi.net/meetjitsi_5107.1757/libs/lib-jitsi-meet.min.js?v=5107.1757 |
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 ImgurAPIKey = 'YEAH-IM-NOT-GIVING-THAT'; | |
window.addEventListener('paste', function(e) { | |
function eventPreventDefault(e) { | |
e.preventDefault(); | |
} | |
function getClipboardData(e) { | |
return window.clipboardData || e.clipboardData; | |
} |
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 | |
if [ "$EUID" -ne 0 ] | |
then echo "Must be root" | |
exit | |
fi | |
apt-get update -y | |
apt-get upgrade -y | |
apt-get dist-upgrade -y |
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/sh -e | |
# | |
# This file belongs in /usr/lib/dhcpcd5/dhcpcd how you get it there is up to you | |
# | |
DHCPCD=/sbin/dhcpcd | |
INTERFACES=/etc/network/interfaces | |
REGEX="^[[:space:]]*iface[[:space:]](*.*)[[:space:]]*inet[[:space:]]*(dhcp|static)" | |
EXCLUDES="" |
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
// Integer and float benchmark for Win32 and Win64 | |
// Results are below main(), line 91 | |
#include <stdlib.h> | |
#include <stdio.h> | |
#ifdef _WIN32 | |
#include <sys/timeb.h> | |
#else | |
#include <sys/time.h> | |
#endif |
This is a fork of https://gist.github.com/lttlrck/9628955 to make the renaming of branches simpler.
- Ensure the script is executable.
git-rename.sh [oldbranchname] newbranchname [upstreamname]
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 grub.cfg file was created by Lance http://www.pendrivelinux.com | |
# Suggested Entries and the suggestor, if available, will also be noted. | |
set timeout=10 | |
set default=0 | |
set gfxpayload=keep | |
submenu "Ubuntu" { | |
menuentry "Ubuntu Desktop ISO" { | |
set isofile=/ubuntu.iso |
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 | |
sudo tar -xzf ~/Downloads/VSCodium-linux-x64*.tar.gz -C . && rm ~/Downloads/VSCodium-linux-x64* |