Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
import argparse
import logging as log
def setup():
setup_logging()
setup_argument_parsing()
def setup_logging():
//
// MetalHelpers.metal
// LargeFormatSimulator
//
// Created by Anthony Forsythe on 1/22/20.
// Copyright © 2020 Anthony Forsythe. All rights reserved.
//
#include <metal_stdlib>
using namespace metal;
They 👉🏼👉🏼say 🗣Flat 🕳Earth🌎 is dumb🤔.. ok, But let’s actually 💯take a look 🔎at what you👈🏼 call 📞smart🧠 ok?🤔🤔
You 👈🏼believe the earth🌎 is going⚡️ 66,600 ☄️miles per hour 🚨which is 39 times ✖️FASTER 🏃🏻‍♀️than the speed of a 🔫bullet 🤷🏽‍♀️
You 👈🏼believe the earth 🌎core 🌎is hotter🔥🔥 than the surface 🔝of the sun ☀️with an infinite ♾burn🔥, all while being 🙅🏻‍♀️sealed 🙅🏻‍♀️off from fuel🚀 or air💨 🤷🏽‍♀️
You 👈🏼believe there is a 🚧wall of fire🔥 atmosphere 🌫🌫up 🔝there but yet🤷🏻‍♀️ the higher ⬆️⬆️you go, the colder 🥶it gets. Once you👈🏼 get to airplane ✈️height✈️, it’s literally -4️⃣0️⃣ below zero 🤷🏽‍♀️
You 👈🏼believe a teaspoon🥄🥄 of a neutron💫 star ⭐️weights ⚖️40 billion🚫 pounds. 👆🏻One 👆🏻TEASPOON 🥄🥄🥄of a neutron 💫star ⭐️weighs 20 2️⃣0️⃣ billion pounds! ⚖️🤷🏽‍♀️
You 👈🏼believe 🌎NASA 🚀🛰went👉🏼 to the moon 🌝but lost 🤷🏻‍♀️ALL THE TELEMETY📞 DATA📈, ALL THE 📉BLUEPRINTS FOR THE SATURN 💥ROCKET🚀, as well as ALL THE 📉BLUEPRINTS FOR THE 🌝LUNAR MODULE 🌝and all the 📉blueprints for that😥 dumb 🚐DUNE BUGGY🚐... all of it got lost 🤷🏽‍♀️
You 👈🏼bel
letter_mapping = {
'A' : [ 'A', '4' ],
'B' : [ 'B' , '8' ],
'C' : [ 'C' ],
'D' : [ 'D' ],
'E' : [ 'E' , '3' ],
'F' : [ 'F' ],
'G' : [ 'G' , '6' ],
'H' : [ 'H' ],
'I' : [ 'I', '1' ],
class PAPhotograph {
private static let DEFAULT_UID = ""
private static let DEFAULT_TITLE = ""
private static let DEFAULT_LONG_DESCRIPTION = ""
private static let DEFAULT_DATE_UPLOADED = Date()
private static let DEFAULT_THUMB_URL = ""
private static let DEFAULT_MAIN_URL = ""
private static let DEFAULT_DATE_TAKEN = Date()
private static let DEFAULT_DATE_CONF : Float = 0.0
.background {
background-image: url(https://i.imgur.com/YjVLuto.jpg);
}
.progressBar {
background-color: rgb(238, 255, 65);
}
.watermark {
width: 600px;
height: 600px;
}
<?xml version="1.0" encoding="UTF-8"?>
<users>
<user Section="200" CourseNum="5001-200-20151" FullName="Adrian Aizensat Aizenstat" FirstName="Adrian Aizensat" LastName="Aizenstat" UserIdentifier="AAizenstat16" PreferredFName="Adrian Aizensat" Entry_Term="20151" Cluster="2016S" Hometown="Miami" Country="United States" Email="AAizenstat16@gsb.columbia.edu" UndergraduateDegree="Bachelor of Science" UndergraduateMajor="Finance (Honors)" UndergraduateCollege="University Of Florida" DegreeYear1="2007" UndergraduateDegree2="Master of Business Administration" UndergraduateMajor2="" UndergraduateCollege2="University Of Florida" DegreeYear2="2016" Company="Wells Fargo Bank, N.A." Title="Relationship Manager" Division="" Industry="Diversified Financial Services" PrevCompany2="LASA, Inc." Title2="Managing Principal" Division2="" Industry2="Real Estate" PrevJobStartDate3="2007-10-01" Statement="&lt;p&gt;Adrian Aizenstat is a Relationship Manager at Wells Fargo Bank, where he&amp;rsquo;s been directly involved in the ori
var dbName = "photoArchiving",
collectionName = "photos",
subfolderName = "mainPhotos/";
var mongo = require('mongodb'),
sprintf = require('sprintf').sprintf,
fs = require('fs'),
moment = require('moment'),
aws = require('../awsConnections/awsTest.js');
var express = require('express'),
user = require('./routes/users'),
story = require('./routes/story'),
photos = require('./routes/photos'),
sms = require('./routes/sms'),
manager = require('./routes/manager');
var app = express();
app.configure(function () {
@forsythetony
forsythetony / ReportBuilderDataPull.cs
Created April 7, 2015 21:05
How I currently pull user data in ReportBuilder
foreach (UserRoleChart userChart in m_chart.UserRoleCharts)
{
User p_user = userChart.UserRole.User;
String fNameText = p_user.DisplayFirstName;
String lNameText = p_user.DisplayLastName;
PdfPage newPage = pdfDoc.AddPage(pdfPageSize, pdfPageMargins, pdfPageOrientation);
float xPos = 100;