Skip to content

Instantly share code, notes, and snippets.

@choco-bot
choco-bot / FilesSnapshot.xml
Created Apr 30, 2020
EthanBrown.ChromeCanaryDevExtensions v0.0.2 - Passed - Package Tests Results
View FilesSnapshot.xml
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\EthanBrown.ChromeCanaryDevExtensions\EthanBrown.ChromeCanaryDevExtensions.nupkg" checksum="BC00877548CB0C69C2E16CFFDD5F26EA" />
<file path="C:\ProgramData\chocolatey\lib\EthanBrown.ChromeCanaryDevExtensions\EthanBrown.ChromeCanaryDevExtensions.nuspec" checksum="34CE3D97850F5690EB715FE3F1576A64" />
<file path="C:\ProgramData\chocolatey\lib\EthanBrown.ChromeCanaryDevExtensions\tools\chocolateyInstall.ps1" checksum="726298C0CA4CE6D981CA48134D9D40A0" />
<file path="C:\ProgramData\chocolatey\lib\EthanBrown.ChromeCanaryDevExtensions\tools\chocolateyUninstall.ps1" checksum="1BB3FD175C38399C588F7073EC7EBD49" />
<file path="C:\ProgramData\chocolatey\lib\EthanBrown.ChromeCanaryDevExtensions\tools\ChromeHelpers.ps1" checksum="D5B9EFEE4F688706998590DEF6243D23" />
</files>
</fileSnapshot>
@RedwoodForest
RedwoodForest / gist:1d14d88649c72363bea602f274ddb084
Created Apr 30, 2020
XmlCommentsForTypesMappedAsStringSchemaFilter
View gist:1d14d88649c72363bea602f274ddb084
/// This filter overrides just the OpenApiSchema.Example with the correct values. All other OpenApiSchema members
/// are set by the default filter.
///
/// This filter must be run after the default filter (because the default filter will set OpenApiSchema.Example to
/// null).
///
/// References:
/// https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/master/src/Swashbuckle.AspNetCore.SwaggerGen/XmlComments/XmlCommentsSchemaFilter.cs (70a87fe)
public class XmlCommentsForTypesMappedAsStringSchemaFilter : ISchemaFilter {
private readonly XPathNavigator _xmlNavigator;
@bryantaing
bryantaing / PY0101EN-4-1-ReadFile.ipynb
Created Apr 30, 2020
Created on Skills Network Labs
View PY0101EN-4-1-ReadFile.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@atomdeniz
atomdeniz / docker-compose.yml
Created Apr 30, 2020
Atomdeniz docker-compose
View docker-compose.yml
version: '2'
services:
web:
container_name: 'coreapp'
image: 'coreapp'
build:
context: .
dockerfile: Dockerfile
@eadan97
eadan97 / vids2imgs.py
Created Apr 30, 2020
Python script to get frames from videos in a folder
View vids2imgs.py
import glob
import os
import cv2
IMAGES_FOLDER="Imgs/"
VIDEOS_FOLDER="Videos/"
def getFrame(sec, fname):
"""
View untrusted-lvl6-solution.js
/****************
* drones101.js *
****************
*
* Do you remember, my dear Professor, a certain introductory
* computational rationality class you taught long ago? Assignment
* #2, behavior functions of autonomous agents? I remember that one
* fondly - but attack drones are so much easier to reason about
* when they're not staring you in the face, I would imagine!
@compcon
compcon / pilot.txt
Created Apr 30, 2020
Cowboy - Spike Flanagin (LL:0)
View pilot.txt
{"id":"0de7dc4a-f7ec-409a-86ea-576f35742aa8","cloudID":"","cloudOwnerID":"c8c7ca46-04e3-4184-b496-ece7d0e7cb28","lastCloudUpdate":"","level":0,"callsign":"Cowboy","name":"Spike Flanagin","player_name":"","status":"Active","text_appearance":"","notes":"","history":"<p>This is a test biography.</p>","portrait":"","cloud_portrait":"https://i.imgur.com/tdzUGee.jpg","quirk":"","current_hp":9,"reserves":[],"orgs":[],"background":"OUTLAW","mechSkills":[0,2,0,0],"licenses":[],"skills":[{"id":"sk_assault","rank":1},{"id":"sk_show_off","rank":1},{"id":"sk_charm","rank":1},{"id":"sk_stay_cool","rank":1}],"talents":[{"id":"t_ace","rank":1},{"id":"t_gunslinger","rank":1},{"id":"t_leader","rank":1}],"core_bonuses":[],"loadout":{"id":"4b6eba5d-4601-4748-abc7-cd959f824f88","name":"Primary","armor":[{"id":"pg_light_hardsuit","destroyed":false,"uses":0,"cascading":false,"customDamageType":null}],"weapons":[{"id":"pg_light_signature","destroyed":false,"uses":0,"cascading":false,"customDamageType":null},{"id":"pg_light_signature
View JUnitTests.java
public class JUnitTests {
public static void main(String [] args){
}
}
View untrusted-lvl6-solution.js
/****************
* drones101.js *
****************
*
* Do you remember, my dear Professor, a certain introductory
* computational rationality class you taught long ago? Assignment
* #2, behavior functions of autonomous agents? I remember that one
* fondly - but attack drones are so much easier to reason about
* when they're not staring you in the face, I would imagine!
You can’t perform that action at this time.