Substack https://aljamal.substack.com/p/homoiconic-python
atom=lambda x:not isinstance(x,list)
eq=lambda x,y:x == y
car=lambda x:x[0]
cdr=lambda x:x[1:]
#!/usr/bin/env bash | |
# TODO: Need to figure out the settings for the following: | |
# 1) Dock: Items with order (not capturing binary data - since that is dependent on installed apps) | |
# 2) Security & Privacy Preferences: Full Disk Access, Camera, Microphone | |
# 3) Login items for my user (i.e. apps started when I login) | |
# 4) Retina displays scaling | |
# 5) Finder sidebar with order | |
## |
/** | |
* 1Password Duplicate Remover | |
* | |
* Usage: node 1password-duplicate.js | |
* | |
* Author: Will Hackett | |
* | |
* License: MIT | |
* | |
* Requirements: |
Substack https://aljamal.substack.com/p/homoiconic-python
atom=lambda x:not isinstance(x,list)
eq=lambda x,y:x == y
car=lambda x:x[0]
cdr=lambda x:x[1:]
# disable sleep | |
sudo pmset -b sleep 0; sudo pmset -b disablesleep 1 | |
# re-enable sleep | |
sudo pmset -b sleep 5; sudo pmset -b disablesleep 0 |
Women in particular need to keep an eye on their physical and mental health, because if we’re scurrying to and from appointments and errands, we don’t have a lot of time to take care of ourselves. We need to do a better job of putting ourselves higher on our own “to do” list. Michelle Obama
A Pen by uixcrazy.com on CodePen.
import { HttpService, Injectable, Logger } from '@nestjs/common'; | |
import { InjectModel } from '@nestjs/sequelize'; | |
import { ReadStream } from 'fs'; | |
import { Sequelize } from 'sequelize-typescript'; | |
import * as xlsx from 'xlsx'; | |
import { WorkBook, WorkSheet } from 'xlsx'; | |
import { ArquivoImportacao } from './dto/arquivo-importacao.dto'; | |
@Injectable() | |
export class ImportacaoProcessosService { |
[ | |
{ | |
"type": "function", | |
"name": "diamondCut", | |
"inputs": [ | |
{ | |
"name": "_diamondCut", | |
"type": "tuple[]", | |
"internalType": "struct IDiamond.FacetCut[]", | |
"components": [ |