Skip to content

Instantly share code, notes, and snippets.

@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created Sep 14, 2020
Rimworld output log published using HugsLib
View output_log.txt
Log uploaded on Monday, September 14, 2020, 6:14:05 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:1.0.4.0]: 0Harmony(2.0.2), HarmonyMod(1.0.4)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:8.0.1]: 0Harmony(av:2.0.2,fv:1.2.0.1), HugsLib(av:1.0.0,fv:8.0.1)
JecsTools(jecrell.jecstools)[mv:1.1.1.2]: 0Harmony(av:2.0.2,fv:2.0.0.8), 0JecsTools(1.2.0.1), AbilityUser(1.18.0), AbilityUserAI(1.18.0), CompActivatableEffect(1.18.0), CompAnimated(1.18.0), CompBalloon(1.18.0), CompBigBox(1.18.0), CompDeflector(1.18.0), CompDelayedSpawner(1.18.0), CompExtraSounds(1.18.0), CompInstalledPart(1.18.0), CompLumbering(1.18.0), CompOverlays(1.18.0), CompOversizedWeapon(1.18.0), CompSlotLoadable(1.18.0), CompToggleDef(1.18.0), CompVehicle(1.17.0.1), PawnShields(1.0.0), ThinkNodes(1.0.0)
Miscellaneous 'CORE'(Haplo.Miscellaneous.Core)[mv:1.2.0]: ColonistKeys(1.1.1), CommonMisc(1.0.0)
Misc. Robots(Haplo.Miscellaneous.Robots)[mv:1.2.0]: AIRobot(1.1.8)
Pick Up And
@liamstrilchuk
liamstrilchuk / analyzecovid.py
Created Sep 14, 2020
Get CSV file (needs owid-covid-data.csv)
View analyzecovid.py
import csv
def main():
days = {}
countries = ["United States", "India", "Brazil", "Russia", "Peru"]
with open("owid-covid-data.csv") as f:
reader = csv.reader(f)
for line in reader:
View gist:e63978fa9263b2901ce3d5ad757500bc
Desktop$ ls -la
total 16
drwxr-xr-x 4 amin amin 4096 sept. 14 22:12 .
drwxr-xr-x 7 amin amin 4096 sept. 14 21:10 ..
-rw-r--r-- 1 amin amin 0 sept. 14 21:02 behaviour.js
drwxr-xr-x 2 amin amin 4096 sept. 14 22:12 direcory1
drwxr-xr-x 2 amin amin 4096 sept. 14 22:12 directory2
-rw-r--r-- 1 amin amin 0 sept. 14 21:01 file10
-rw-r--r-- 1 amin amin 0 sept. 14 21:00 file1.c
-rw-r--r-- 1 amin amin 0 sept. 14 21:00 file2.c
View dispersion_plot.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@frankchen76
frankchen76 / Get-WorkflowLastRun.ps1
Created Sep 14, 2020
Get Workflow Last run information based on ModernizationWorkflowScanResults.csv. It will add "LastRunDate" column at the end of CSV file
View Get-WorkflowLastRun.ps1
#Get Workflow Last run information based on ModernizationWorkflowScanResults.csv. It will add "LastRunDate" column at the end of CSV file
[CmdletBinding()]
param (
[string] $csvFile = ".\ModernizationWorkflowScanResults.csv",
[string] $CredStoreName = "[CredStoreName]"
)
$csvOutputFile=[System.String]::Format("{0}\{1}-Updated.csv", [System.IO.Path]::GetDirectoryName($csvFile), [System.IO.Path]::GetFileNameWithoutExtension($csvFile))
$workflowHistoryListTitle="Workflow History"
View TipCalc.java
/**
* This program is a tip calculator.
*
* @Timmy Schellenger
* @9/14/2020
*/
import java.util.*;
public class TipCalc
{
public static void main(String args[]){
View Post.js
const mongoose = requier("mongoose")
const { ObjectId } = mongoose.Schema
const postSchema = new mongoose.Schema({
text: String,
image: String,
likes: [{type: ObjectId, ref: "user"}],
comments: [
{
text: String,
View controllers.application\.js
import Controller from '@ember/controller';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
}
View gist:05125bc9789ac03955ec58345dcaa36b
Desktop$ ls -n
total 8
-rw-r--r-- 1 1000 1000 0 sept. 14 21:02 behaviour.js
drwxr-xr-x 2 1000 1000 4096 sept. 14 22:12 direcory1
drwxr-xr-x 2 1000 1000 4096 sept. 14 22:12 directory2
-rw-r--r-- 1 1000 1000 0 sept. 14 21:01 file10
-rw-r--r-- 1 1000 1000 0 sept. 14 21:00 file1.c
-rw-r--r-- 1 1000 1000 0 sept. 14 21:00 file2.c
-rw-r--r-- 1 1000 1000 0 sept. 14 21:00 file3.c
-rw-r--r-- 1 1000 1000 0 sept. 14 21:00 file4.c
View gist:fba20bbb4c03996b13e273dcc6b2032e
### Keybase proof
I hereby claim:
* I am johngribbin on github.
* I am gribbo (https://keybase.io/gribbo) on keybase.
* I have a public key ASCOj8HD_ksSh8rFWoueouObUrJ4uc-K4Qdc_hZTKGjj-go
To claim this, I am signing this object:
You can’t perform that action at this time.