Skip to content

Instantly share code, notes, and snippets.

@lucasgbd
lucasgbd / postmanNetSuiteTBA.js
Last active October 25, 2023 15:53 — forked from michoelchaikin/postmanNetSuiteTBA.js
Postman pre-request script to generate TBA variables for NetSuite Web Services
/*
Usage:
1. Define a NetSuite environment in Postman (https://www.getpostman.com/docs/postman/environments_and_globals/manage_environments)
with the following keys set: account, consumerKey, consumerSecret, tokenId, tokenSecret
2. Add this script to your "Pre Request Script" in Postman (https://www.getpostman.com/docs/postman/scripts/pre_request_scripts)
3. Add the Token Passport in your request with variable placeholders
@gsajith
gsajith / 🎵 My last week in music
Last active May 29, 2023 20:27
🎵 Weekly music listening
Nujabes ██████▏░░░░░░░░░░ 38 plays
Doja Cat █▉░░░░░░░░░░░░░░░ 12 plays
악동뮤지션 █▊░░░░░░░░░░░░░░░ 11 plays
Celestial Alignment █▏░░░░░░░░░░░░░░░ 7 plays
StarBoi3 █▏░░░░░░░░░░░░░░░ 7 plays
brillion. ▉░░░░░░░░░░░░░░░░ 6 plays
Cautious Clay ▉░░░░░░░░░░░░░░░░ 6 plays
Mustafa ▉░░░░░░░░░░░░░░░░ 6 plays
Yasumu ▉░░░░░░░░░░░░░░░░ 6 plays
Bladee ▊░░░░░░░░░░░░░░░░ 5 plays
@mshodge
mshodge / gist:48fc68b8565cf0cab1749dda376e6ea1
Created September 11, 2020 07:57
england_wales_utla.geojson
{
"type": "FeatureCollection",
"name": "utla_ew_2019_bgc",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "objectid": 1, "ctyua19cd": "E06000001", "ctyua19nm": "Hartlepool", "ctyua19nmw": null }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -1.24097984294886, 54.723183493277659 ], [ -1.176154551853605, 54.697675590632898 ], [ -1.173979715641095, 54.691810535033106 ], [ -1.196240961710026, 54.698572873239343 ], [ -1.188027070515213, 54.693350750135806 ], [ -1.199092276155691, 54.680575316590208 ], [ -1.175868906270257, 54.653409351351932 ], [ -1.157622586772996, 54.648194817334229 ], [ -1.173151655989613, 54.633703854281833 ], [ -1.188235396549023, 54.632592966449621 ], [ -1.200638130907635, 54.622932365213501 ], [ -1.250691663237776, 54.625307283758019 ], [ -1.298999443949639, 54.627970223416497 ], [ -1.316349739952518, 54.645223613452174 ], [ -1.328849151830261, 54.643990402788916 ], [ -1.335046640018955
@alexandrascript
alexandrascript / heyawhite-speaker-policy.md
Last active October 19, 2023 22:11
Alexandra White's speaking policy
🌞 Morning 36 commits █▏░░░░░░░░░░░░░░░░░░░ 5.8%
🌆 Daytime 179 commits ██████░░░░░░░░░░░░░░░ 29.1%
🌃 Evening 292 commits █████████▉░░░░░░░░░░░ 47.4%
🌙 Night 109 commits ███▋░░░░░░░░░░░░░░░░░ 17.7%
@mshodge
mshodge / BigQuery_GEOGRAPHY_to_STRING_GeoJSON
Last active June 4, 2022 22:13
BigQuery GEOGRAPHY to STRING GeoJSON
SELECT *, REPLACE(CAST(ST_ASGEOJSON(county_geom) AS STRING),' ', '') as g FROM `bigquery-public-data.geo_us_boundaries.counties` counties
@CrystalOnScript
CrystalOnScript / firstemail.html
Last active August 10, 2024 08:13
Create your first AMP email
<!doctype html>
<html ⚡4email>
<head>
<meta charset="utf-8">
<script async src="https://cdn.ampproject.org/v0.js"></script>
<script async custom-element="amp-bind" src="https://cdn.ampproject.org/v0/amp-bind-0.1.js"></script>
<script async custom-element="amp-carousel" src="https://cdn.ampproject.org/v0/amp-carousel-0.1.js"></script>
<style amp4email-boilerplate>body{visibility:hidden}</style>
<style amp-custom>
@bg1bgst333
bg1bgst333 / system_main.c
Last active September 23, 2023 01:14
system#system
/* ヘッダファイルのインクルード */
#include <stdio.h> /* 標準入出力 */
#include <stdlib.h> /* 標準ユーティリティ */
#include <sys/types.h> /* 派生型 */
#include <unistd.h> /* UNIX標準 */
/* main関数の定義 */
int main(void){
/* 変数の宣言 */
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #