Skip to content

Instantly share code, notes, and snippets.

View anaclumos's full-sized avatar
:electron:
exploring the underexplored

Sunghyun Cho anaclumos

:electron:
exploring the underexplored
View GitHub Profile

Crippling Facebook

Facebook works with advertisers to target you. These instructions are one of the many ways to begin crippling that relationship. When AI targeting is crippled, your psychosecurity improves :)

  1. On your desktop machine, goto https://accountscenter.facebook.com/ads/audience_based_advertising
  2. Maximize the browser window
  3. Press F12 and click on the Console tab
  4. Select the code below, copy it, paste it upon the Console line (The area next to the > character in the Console window), and press enter:
@neubig
neubig / dispatch_openai_requests.py
Last active February 19, 2024 17:55
A simple script to get results from the OpenAI Asynchronous API
# NOTE:
# You can find an updated, more robust and feature-rich implementation
# in Zeno Build
# - Zeno Build: https://github.com/zeno-ml/zeno-build/
# - Implementation: https://github.com/zeno-ml/zeno-build/blob/main/zeno_build/models/providers/openai_utils.py
import openai
import asyncio
from typing import Any
@RobertAKARobin
RobertAKARobin / safari.md
Last active January 5, 2024 05:41
Safari's date-picker is the cause of 1/3 of our customer support issues

Safari's date-picker is the cause of 1/3 of our customer support issues

...and obviously we're building a workaround. But I'm absolutely flabbergasted that a standard <input type="date"> HTML field, in a standard browser, from a company that bases its reputation good design, could be so dreadful.

The context

I'm the developer for a startup that sells a genetic test to recommend medications for high blood pressure. For medical reasons we need to know our customers' birth date. Most of our customers are in their 60s or older. We've found that many of them use iPads or iPhones. And they're the ones who complain to our customer support that our site is unusable.

The problem

@vividvilla
vividvilla / osxtweaks
Created January 8, 2020 10:45 — forked from webdevbrian/osxtweaks
Brian's List of OSX Tweaks for web developers
#OSX Tweaks:
===========
- Most need reboot to show changes
- Most of these tweaks are just for speed, but some are specific for development
- All of these are to be ran in terminal. The commands to be copy and pasted start after the less-than sign.
- I'm not responsible for any adverse effects to your computer, at all.
##Increase the speed of OS X dialogs boxes:
#include <stdio.h>
#include <algorithm>
#include <string.h>
using namespace std;
int n;
long long sum=0;
struct _tuple{

우리 민족의 형성과 선사 문화

인류의 출현과 우리 민족의 형성

현재 알려진 최초의 인류는 약 390만 년전 아프리카 동남부에서 출현한 오스트랄로피테쿠스 아파렌시스이다. 뇌용량이 크며 대가리가 크다 불과 언어 도구의 사용

  • 한반도와 중국 동북 지역에 인류가 살기 시작한것은 구석기시대 부터이다
  • 우리 민족은 신석기 시대에 만주와 한반도를 터전으로 농사를 지으며 정착한 몽골 인종의 한 갈래에서 그 기원을 찾을 수 있다

구석기 시대의 모습

  • 구석기인들은 뗀석기를 사용하고, 열매 채집이나 사냥 물고기잡이 등으로 식량을 구하였다.
  • 정착된 생활이 아닌 이동 생활을 하며 동굴이나 바위에서 살았다, 또한 동굴에 벽화를 그리며 사냥의 성공과 풍요를 기원하였다
@BEMELON
BEMELON / kakaoINubuntu.md
Last active August 22, 2021 01:24
Ubuntu 16.04 에서 카카오톡 설치하기
@stypr
stypr / iptime_wol.py
Created February 13, 2018 07:12
iptime WOL in python
#!/usr/bin/python -u
#-*- coding: utf-8 -*-
# Developer: Harold Kim(root@stypr.com)
import os
import sys
import re
import requests
class iptime:
@tosbourn
tosbourn / facebook_warning.html
Created February 4, 2017 23:37
How to recreate Facebook's console warning
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<script type="text/javascript">
const warningTitleCSS = 'color:red; font-size:60px; font-weight: bold; -webkit-text-stroke: 1px black;';
const warningDescCSS = 'font-size: 18px;';
@jeffkayser
jeffkayser / tech-stack-plan.md
Last active October 5, 2022 23:17
Template for Planning a Technology Stack

Backend Server Platform

Core stack

  • Hardware/VM host:
  • VM:
  • Operating System:
  • Data store:
  • Application Framework:
  • Application Server: