Skip to content

Instantly share code, notes, and snippets.

jouleSoft / Script_Template.ps1
Created Dec 1, 2020 — forked from 9to5IT/Script_Template.ps1
PowerShell: Script Template
View Script_Template.ps1
#requires -version 2
<Overview of script>
<Brief description of script>
.PARAMETER <Parameter_Name>
<Brief description of parameter input required. Repeat this attribute if required>
dineaji / input.scss
Created Dec 1, 2020
Generated by
View input.scss
// image path
$assetPath: "../resources/img";
$spriteImgPath: '/content/dam/fp-dam/shared-assets/Sprite_Sheet_Extras_Desktop.svg';
$letsBeGlyphs: "Lets Be Glyphs Cyrillic","Georgia Bold", serif;
$maax: "Maax", Verdana, sans-serif; //regular
$maaxItalic: "Maax Italic", Verdana, sans-serif;
$maaxLight: "Maax Light", Verdana, sans-serif;
$maaxMedium: "Maax Medium", Verdana, sans-serif;
$maaxMediumItalic: "Maax Medium Italic", Verdana, sans-serif;
View addition_terminate.hs
loop 0 runningTotal accumulator = do
guard (runningTotal == target)
return acc
jouleSoft / Logging_Functions.ps1
Created Dec 1, 2020 — forked from 9to5IT/Logging_Functions.ps1
PowerShell: Logging Functions
View Logging_Functions.ps1
Function Log-Start{
Creates log file
Creates log file with path and name that is passed. Checks if log file exists, and if it does deletes it and creates a new one.
Once created, writes initial logging data
johnbumgarner /
Created Dec 1, 2020
Divided list into chunks
def divide_list_into_chunks(input_list, len_of_chunk):
This function will divide a list into chunks.
:param input_list: list to divided
:param len_of_chunk: maximum length of each chunk
for i in range(0, len(input_list), len_of_chunk):
yield input_list[i:i + len_of_chunk]
View 10-slimblade.conf
Section "InputClass"
Identifier "Kensington Slimblade Trackball"
MatchProduct "Kensington Slimblade Trackball"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "ButtonMapping" "1 8 3 4 5 6 7 2 9"
Option "ScrollButton" "8"
TauPhi33 / disney_brdf.glsl
Created Dec 1, 2020 — forked from GreenEminence/disney_brdf.glsl
Disney Principled BRDF GLSL shader implementation
View disney_brdf.glsl
// Principled PBR Path tracer. Except where otherwise noted:
// Copyright © 2019 Markus Moenig Distributed under The MIT License.
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
View .vimrc
" Use zm to fold this file into sections
" Use za to toggle the sections open/closed
" This config file aims to be the simplest/dependency free it could be.
" - Anything that can intuitively be done with vim itself is done so.
" - If required pure vimscript plugins are prefered.
" - LSP is used as it reduces the number of additional plugins required
" (Check LSP section to see what to install)
View Common_String_Functions_for_NLP.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.