(\u001B\[\d+;?\d?m)+
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
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"basics": { | |
"name": "Joshua Shearer", | |
"label": "Software Engineer/DevOps Leader", | |
"email": "joshua.a.shearer@gmail.com", | |
"summary": "Results-driven team lead with a proven track record of driving innovation and efficiency in cloud-based environments. With extensive experience in leading cross-functional teams and implementing modern technologies, I specialize in fostering collaboration and optimizing application development/deployment processes through DevOps best practices and cloud-native solutions.", | |
"location": { | |
"city": "Atlanta", | |
"region": "Georgia" |
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
########## | |
# Win10 Initial Setup Script | |
# Author: Disassembler <disassembler@dasm.cz> | |
# Version: 1.7, 2016-08-15 | |
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
# THIS IS A PERSONALIZED VERSION | |
# This script leaves more MS defaults on, including MS security features. | |
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.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
[ | |
{ | |
"Key" : "webServerHost1", | |
"Value" : "http://localhost:8080/", | |
"Type" : "string" | |
}, | |
{ | |
"Key" : "webServerHost2", | |
"Value" : "http://*:8080/", | |
"Type" : "string" |
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
public static void ExecuteSqlScript(string fileName, string connectionString) | |
{ | |
try | |
{ | |
FileInfo file = new FileInfo(fileName); | |
string script = file.OpenText().ReadToEnd(); | |
SqlConnection conn = new SqlConnection(connectionString); | |
Server server = new Server(new ServerConnection(conn)); | |
server.ConnectionContext.ExecuteNonQuery(script); | |
file.OpenText().Close(); |
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
void Main() | |
{ | |
int i = 3; | |
decimal d = 2M; | |
var r = (i / d); | |
Console.WriteLine("Default Behavior:"); | |
Console.WriteLine("Result Type: {0}", r.GetType().Name); | |
Console.WriteLine("Result: {0}", r); | |
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
[DebuggerHidden] | |
private IEnumerator SaveGame(string saveName, string savePath, bool useCloud) | |
{ | |
// ISSUE: object of a compiler-generated type is created | |
return (IEnumerator) new SavePanel.\u003CSaveGame\u003Ec__Iterator2F() | |
{ | |
saveName = saveName, | |
useCloud = useCloud, | |
\u003C\u0024\u003EsaveName = saveName, | |
\u003C\u0024\u003EuseCloud = useCloud, |
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
public bool SaveGame(string savename) | |
{ | |
if (Singleton<LoadingManager>.get_exists() && !Singleton<LoadingManager>.get_instance().m_currentlyLoading) | |
{ | |
if (!SavePanel.m_IsSaving) | |
{ | |
CODebugBase<LogChannel>.Log(LogChannel.Core, "Save requested"); | |
SavePanel.m_IsSaving = true; | |
((MonoBehaviour) this).StartCoroutine(this.Snapshot(644, 360)); | |
((MonoBehaviour) this).StartCoroutine(this.SaveGame(savename, SavePanel.GetSavePathName(savename), false)); |
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
public IEnumerable<uint> GetCitizenIDs() | |
{ | |
var citizenManager = Singleton<CitizenManager>.instance; | |
var citizens = citizenManager.m_instances.m_buffer; | |
foreach (var citizen in citizens) | |
{ | |
if (citizen.m_flags == CitizenInstance.Flags.None) { continue; } | |
yield return citizen.m_citizen; | |
} |
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
public static class CitizenExtensions | |
{ | |
public static String GetName(this Citizen citizen) | |
{ | |
return Singleton<CitizenManager>.instance.GetCitizenName(citizen.m_instance); | |
} | |
} |
NewerOlder