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 spamFilter() { | |
var threads = GmailApp.search("newer_than:1h in:inbox"); | |
for (var i = 0; i < threads.length; i++) { | |
var newsRegex = ('[!-~]{5,20}\@news\.[A-Za-z0-9]{5,20}\.edu'); | |
var confirmationRegex = ('c[0,o,O]{0,4}nf[i,I]{0,2}rmat[i,I]{0,2}[0,o,O]{0,4}n'); | |
var securityRegex = ('[S,s]ecur[i,I]{0,2}ty'); | |
const newsFound = threads[i].getMessages()[0].getFrom().match(newsRegex); |
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
using System; | |
using Microsoft.Win32; | |
using OpenTK; | |
using OpenTK.Input; | |
namespace TestProgram | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
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
christopher@UNIMATRIX-001:/mnt/downloads/SourceCode$ sudo dpkg-buildpackage -rfakeroot | |
[sudo] password for christopher: | |
dpkg-buildpackage: warning: using a gain-root-command while being root | |
dpkg-buildpackage: info: source package openbve | |
dpkg-buildpackage: info: source version 1.6.0.0-1 | |
dpkg-buildpackage: info: source distribution unstable | |
dpkg-buildpackage: info: source changed by Christopher Lees <[email protected]> | |
dpkg-buildpackage: info: host architecture amd64 | |
dpkg-source --before-build SourceCode | |
fakeroot debian/rules clean |
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
#!/usr/bin/env bash | |
set -o nounset | |
set -o errexit | |
set -o pipefail | |
declare -r max=4 | |
declare i=0 | |
function wrap() { |