Skip to content

Instantly share code, notes, and snippets.

View Jnchi's full-sized avatar
🤖
はじめまして

kawakami Jnchi

🤖
はじめまして
View GitHub Profile
@Jnchi
Jnchi / README.md
Created September 23, 2019 13:01
Validating security patches for jQuery in WordPress releases
@Jnchi
Jnchi / README.md
Last active August 16, 2019 18:22
Hacking the Github Activity Graph

Hacking the Github Activity Graph

Dependencies

Installation

First clone this gist,

@Jnchi
Jnchi / README.md
Last active August 14, 2019 17:08
Gluten-free cake recipe
@Jnchi
Jnchi / 2019-07-11.md
Last active July 12, 2019 13:03
JSON, J SON, JS ON, J S O N?

@CNEddie: > I just noticed it like huh, all the JSONObjects are being stored in a HashMap

@CNEddie: > what I have to do is grab the json when I need it

@CNEddie: > not when I dont need it

@neverrend: > Gotcha.

@CNEddie: > It is just sitting there

@Jnchi
Jnchi / configureHostname.ps1
Created July 3, 2019 16:43
Configure Hostname on Windows 10
# Configure Hostname on Windows 10
# https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/start-process
# SPDX-License-Identifier: GPL-3.0-or-later
echo "Configuring Hostname..."
# $ret = (Start-Process
@Jnchi
Jnchi / bootstrap_puppet_agent.ps1
Last active June 4, 2019 15:50
Install Puppet Agent on Windows 10
# Installs Puppet Agent on Windows 10
# https://puppet.com/docs/puppet/6.4/install_agents.html#install-unattended-from-the-command-line
# SPDX-License-Identifier: GPL-3.0-or-later
$arch = "x64"
$puppet_version = "puppet6"
$version = "latest"
$installer = "puppet-agent-$($arch)-$($version).msi"
$server = "puppet.localdomain"
$port = "8140"
@Jnchi
Jnchi / date.c
Last active March 11, 2019 19:37
libcurl example - smtp-mail.c extended
/*
* https://tools.ietf.org/html/rfc5322#section-3.3
*
* gcc -Wall -Wextra -Werror -o date date.c; ./date
*/
#include <stdio.h>
#include <string.h>
#include <time.h>
int main(void)
@Jnchi
Jnchi / openssl_example.c
Last active February 6, 2019 20:53
OpenSSL Example - Github API
/*
* This is free and unencumbered software released into the public domain.
* gcc -o openssl_example.c openssl_example -lssl -lcrypto
*/
#include <string.h>
#include <stdio.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/bio.h>