It's semi-automated at worse, automated at best
open browser
open inspector on console
copy paste, enter
wait
// I was so tired of clicking | |
const uls = document.querySelectorAll('ul'); | |
uls.forEach(ul => { | |
const buttons = ul.querySelectorAll('button[aria-label="Remove from project knowledge"]'); | |
buttons.forEach(button => button.click()); | |
}); |
package main | |
import ( | |
"context" | |
"encoding/json" | |
"flag" | |
"fmt" | |
"log" | |
"net" | |
"net/url" |
FROM ubuntu:latest | |
# Install dependencies | |
RUN apt-get update && \ | |
apt-get install -y \ | |
golang-go \ | |
git \ | |
build-essential \ | |
curl \ | |
vim \ |
It's semi-automated at worse, automated at best
open browser
open inspector on console
copy paste, enter
wait
In case anyone else wants to play with Zig on webassembly, here's what you need to do to make it work on a mac today.
You'll need LLVM to output to the WASM target. This has just been added by default in trunk, so if LLVM >7 is available, you might be able to just brew install llvm
.
If you have wasm support already you should see:
$ llc --version
Caution,Name,Version,Size (raw),Size (minified),Size (gzipped),"Site","URL",Remarks | |
,Milligram,v1.4.1,11 kb,9.0 kb,2.3 kb,"https://milligram.io/","https://cdnjs.cloudflare.com/ajax/libs/milligram/1.4.1/milligram.min.css", | |
,Skelton,v2.0.4,11 kb,5.8 kb,1.6 kb,"http://getskeleton.com/","https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css", | |
,Material Design Lite,v1.3.0,146 kb,62 kb,12 kb,"https://getmdl.io/","https://code.getmdl.io/1.3.0/material.min.js", | |
,Foundation,v6.6.3,168 kb,133 kb,17 kb,"https://get.foundation/","https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation.min.css", | |
,Materialize,v1.0.0,179 kb,141 kb,21 kb,"https://materializecss.com/","https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css", | |
,Bootstrap,v4.6.0,199 kb,161 kb,24 kb,"https://getbootstrap.com/docs/4.6/","https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css", | |
,Bootstrap,v5.1.2,206 kb,164 kb,24 kb,"https://getbootstrap.com/","https://cdn.jsdelivr.net/npm/b |
const Promise = require("bluebird"); | |
// It's that simple | |
const Pipeline = async a => { | |
return await Promise.reduce( | |
a.slice(1, a.length), | |
(ac, cv) => { | |
return cv(ac); | |
}, | |
a[0] |
FROM node:8-alpine | |
ENV NODE_ENV=production | |
RUN mkdir /app | |
WORKDIR /app | |
COPY package.json . | |
RUN npm install --production |
import React from 'react'; | |
import {View } from 'react-native'; | |
/* | |
@description: for lazy people who don't give a fuck on performances | |
it's working for only ONE child! | |
<LazyView topleft|top|topright|left|center|right|bottomleft|bottom|right> | |
<View | |
style={{ |
npm install | |
yarn start |