Skip to content

Instantly share code, notes, and snippets.

View csharpforevermore's full-sized avatar
🏠
Working from home

Randle csharpforevermore

🏠
Working from home
View GitHub Profile
@FlorianHeigl
FlorianHeigl / cheatsheets.md
Last active March 21, 2025 00:58
Printable Cheat Sheets for Software

A collection of links to useful cheat sheets.

Only what's properly printable can get a spot at the top of this list. It should also be small enough to fit on a few pages.
Almost all links in this document were designed by their creators so that YOU can print them in a good-looking format and store them however is best for you.
Anything that isn't really something you could print in A4/US Letter format, but is still a well-made cheatsheet can get a spot at the end of the page.

Pleae contribute any you remember you've seen and liked.
It would be wonderful if we can get these to be something more commonly made.

Free O'Reilly books and convenient script to just download them.

Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post

How to use:

  1. Take the download.sh file and put it into a directory where you want the files to be saved.
  2. cd into the directory and make sure that it has executable permissions (chmod +x download.sh should do it)
  3. Run ./download.sh and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.
@mitakeck
mitakeck / Free OREILLY
Created February 19, 2017 05:14
Free OREILLY
Free OREILLY
## Data Ebooks
http://www.oreilly.com/data/free/files/mapping-big-data.epub
http://www.oreilly.com/data/free/files/business-models-for-the-data-economy.epub
http://www.oreilly.com/data/free/files/2016-data-science-salary-survey.epub
http://www.oreilly.com/data/free/files/embedding-analytics-in-modern-applications.epub
http://www.oreilly.com/data/free/files/data-science-microsoft-azure-ml-python.epub
http://www.oreilly.com/data/free/files/self-service-analytics.epub
@auberginehill
auberginehill / Rename-Files.ps1
Last active December 30, 2022 22:51
A Windows PowerShell script for renaming files.
<#
Rename-Files.ps1
#>
# Find all wmv-files with a string "oldstring" and replace "oldstring" with "newstring" in the filename
Get-ChildItem *.wmv -Filter "*oldstring*" | ForEach { Rename-Item $_ -NewName $_.Name.Replace("oldstring","newstring") }
# Change the file extension of all .jpeg files to .jpg
@DanDiplo
DanDiplo / JS-LINQ.js
Last active March 28, 2025 00:15
JavaScript equivalents of some common C# LINQ methods. To help me remember!
// JS array equivalents to C# LINQ methods - by Dan B.
// First: This version using older JavaScript notation for universal browser support (scroll down for ES6 version):
// Here's a simple array of "person" objects
var people = [
{ name: "John", age: 20 },
{ name: "Mary", age: 35 },
{ name: "Arthur", age: 78 },
{ name: "Mike", age: 27 },
@leekelleher
leekelleher / 1-README.md
Last active August 29, 2015 14:06
Ditto - Example of mapping an Archetype property to custom POCO model/type

Here is an example of using Ditto to map an Archetype property to custom POCO model/type.


Let's say that we have an Archetype to represent some SEO meta-data, and we'll call the DocType property "metaData".

We'd have 3 properties in the Archetype:

  • metaTitle
  • metaDescription
@olegstarichenko
olegstarichenko / FrontendDevelopment.md
Created August 23, 2014 06:51
Frontend Development

Frontend Development

Looking for something else? Take a look at the awesome collection of other awesome lists.

$("#foo")
.clone() //clone the element
.children() //select all the children
.remove() //remove all the children
.end() //again go back to selected element
.text();
@gemyago
gemyago / generate_dto.sql
Last active September 4, 2023 20:23
TSQL script to generate POCO/DTO from database table
DECLARE @tableName NVARCHAR(MAX), @schemaName NVARCHAR(MAX), @className NVARCHAR(MAX)
--------------- Input arguments ---------------
SET @tableName = 'Incidents'
SET @schemaName = 'dbo'
SET @className = 'IncidentDto'
--------------- Input arguments end -----------
DECLARE tableColumns CURSOR LOCAL FOR
SELECT cols.name, cols.system_type_id, cols.is_nullable FROM sys.columns cols