Skip to content

Instantly share code, notes, and snippets.

View Aragami1408's full-sized avatar

Higanbana/彼岸花 Aragami1408

View GitHub Profile
(function () {
'use strict';
if (location.host !== 'daynhauhoc.com') {
const checkHost = confirm('Bookmarklet does not work on this page.\nDo you want to open DayNhauHoc?');
if (checkHost) top.location.href = 'https://daynhauhoc.com';
return;
}
if (!Discourse.User.current()) {
@lolzballs
lolzballs / HelloWorld.java
Created March 22, 2015 00:21
Hello World Enterprise Edition
import java.io.FileDescriptor;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
public class HelloWorld{
private static HelloWorld instance;
public static void main(String[] args){
instantiateHelloWorldMainClassAndRun();
@marcosvidolin
marcosvidolin / kill_port_process.sh
Last active June 8, 2021 10:34
Linux: How to list and kill a process using a port
# to list all ports that are used
sudo netstat -ntlp | grep LISTEN
# you can obtain a specific port using the following command
sudo netstat -ntlp | grep :8080
# when you execute the command above you will see something like that
tcp 0 0 0.0.0.0:27370 0.0.0.0:* LISTEN 4394/skype
tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN 2216/dnsmasq
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 4912/cupsd
@peppy
peppy / gist:99e6959772083cdfde8a
Created August 27, 2014 01:47
Removal Request on Konami's Contents (Bemani Series)
To whom it may concern,
This is Konami Digital Entertainment Co., Ltd. ("Konami"), the IP owner of the "Bemani" Series ("Game"). It has recently come to Konami’s attention that the forum you host "Osu!" (https://osu.ppy.sh/p/beatmaplist?q=beatmania%20IIDX)” is providing game copyrighted works such as artworks and owned by Konami. Because none of these use is approved from Konami, we demand removing them from your website immediately. The website are as follows;
https://osu.ppy.sh/p/beatmaplist?q=beatmania%20IIDX
https://osu.ppy.sh/p/beatmaplist?l=1&r=0&q=beatmania+iidx&g=0&la=0&s=4&o=1&m=-1&page=2
https://osu.ppy.sh/p/beatmaplist?l=1&r=0&q=beatmania+iidx&g=0&la=0&s=4&o=1&m=-1&page=3
https://osu.ppy.sh/p/beatmaplist?l=1&r=0&q=beatmania+iidx&g=0&la=0&s=4&o=1&m=-1&page=4
https://osu.ppy.sh/p/beatmaplist?l=1&r=0&q=beatmania+iidx&g=0&la=0&s=4&o=1&m=-1&page=5