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
{ | |
"name": "Trevor Renshaw", | |
"address": "2517 Windy Vane Dr, Pflugerville, TX 78660", | |
"phone": "(515) 992-6506", | |
"email": "[email protected]", | |
"website": "github.com/trevren11", | |
"experience": [ | |
{ | |
"company": "Facebook/Meta", | |
"position": "Software Engineer", |
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
function CherryPickCommitsToServicing() { | |
param | |
( | |
[Parameter(Mandatory=$true, HelpMessage="Servicing branch to base off of, should be in the format 'servicing/20xx-1.1'")] [string] $ServicingBranch, | |
[Parameter(Mandatory=$true, HelpMessage="Branch name to make cherry pick to, should be in the format 'user/<user>/<branchName>'")] [string] $CherryPickBranch, | |
[Parameter(Mandatory=$true, HelpMessage="Message commit for pull request")] [string] $CommitMessage, | |
[Parameter(Mandatory=$true, HelpMessage="One or multiple commit hashes, all encased by quotations marks and space separated, hash will be applied first to last -> 'hash1 hash2' ")] [string] $CommitHashes, | |
[Parameter(HelpMessage="Add flag to disable opening chrome to branches tab to create a pr")] [switch] $DontOpenChrome, | |
[Parameter(HelpMessage="Add flag to disable automatically pushing to hotfix branch")] [switch] $DontPushToBranch | |
) |
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
-- assign logical name to macro keyboard | |
-- lmc_assign_keyboard('MACROS') | |
-- lmc_minimize(); | |
-- lmc_reset(); | |
lmc_say('Loading keyboard configuration') | |
lmc.minimizeToTray = false | |
-- lmc_minimize() | |
-- lmc_load('E:\\lmc.lua') | |
-- The function returns title of active window. Useful if you want different behaviour of macros depending of active application. |
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
param( | |
[Parameter(Mandatory = $true)] [string] $ImageFolderPath, # folder location of what files you want to load onto your android device | |
[Parameter(Mandatory = $true)] [string] $PhoneName, # name that shows up in Your Phone app and folder name where images will sync to on pc, ie "Galaxy S8" | |
[string] $AndroidPhotoFolderPath = "/sdcard/DCIM/", # android photo folder | |
[Int32] $WaitTime = 60, # How long to wait for full sync | |
[string] $ResultFile = "output.log", | |
[switch] $Help = $FALSE | |
) | |
[void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing") |
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
# example usage: | |
# ruby test.rb -t -d "Moto G (4)" | |
require 'sqlite3' | |
require 'time' | |
require 'optparse' | |
options = {phone_number: nil, message_text: nil, device_name: nil} | |
options[:phone_number] = ENV['espresso_phone'] | |
options[:message_text] = ENV['espresso_message'] |
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
#!/usr/bin/env bash | |
# cd ReversiServer; java Reversi 10; cd .. | |
# cd ReversiRandom_Java; java RandomGuy localhost 1; cd .. | |
# cd Ai; javac Ai.java; java Ai localhost 2 ; cd .. | |
# Linux commands | |
killall -9 java | |
cd server; | |
javac Player.java && javac Reversi.java && java Reversi 10 > ../output/server.log & |
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
import java.awt.*; | |
import java.util.*; | |
import java.awt.event.*; | |
import java.lang.*; | |
import java.io.*; | |
import java.net.*; | |
import javax.swing.*; | |
import java.math.*; | |
import java.text.*; |
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
Remove first 5 characters from file | |
%s/^.\{0,5\}// |
NewerOlder