Important
This guide has moved to Google Docs.
// | |
// IOSurface_stuff.c | |
// time_waste | |
// | |
// Created by Jake James on 2/22/20. | |
// Copyright © 2020 Jake James. All rights reserved. | |
// | |
#import "IOSurface_stuff.h" |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <pthread/pthread.h> | |
#include <mach/mach.h> | |
struct ool_msg { | |
mach_msg_header_t hdr; | |
mach_msg_body_t body; | |
mach_msg_ool_ports_descriptor_t ool_ports[]; | |
}; |
Important
This guide has moved to Google Docs.
//... | |
const GOOGLE_API_KEY = "CóCáiLồnĐịtConBàMày" | |
const snekfetch = require('snekfetch'); | |
client.on("message", async message => { | |
if (message.author.bot) return; // return if message was sent from bot | |
const emojiId = message.content.replace(/<a?:(.*?):+/g, ''); | |
let imageUrl = `https://cdn.discordapp.com/emojis/${emojiId}`; | |
if(message.content === imageUrl) return; // return if message only contains emojis |
See here some of the API's you can use in your discord bot or anything. For any help or questions on how to use one, please contact the owner of the API and not me.
[TOKEN] = API requires a token to access some if not all endpoints.
The descriptions are mostly copied from the API, sometimes personal or from the dev.
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: iAtYJ4HpUVfIUoNnif1DA
# remove specific file from git cache | |
git rm --cached filename | |
# remove all files from git cache | |
git rm -r --cached . | |
git add . | |
git commit -m ".gitignore is now working" |
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com
, example2.com
, and example1.com/images
on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers