Skip to content

Instantly share code, notes, and snippets.

View Palem1988's full-sized avatar

Palem1988 Palem1988

View GitHub Profile
Found: master for zhaopuming/awesome-d — A curated list of awesome D documents, frameworks, libraries and software. Inspired by awesome-python. — 104⭐️ — last updated 55 days ago
🔎 Checking 136 links
⚪ http://qznc.github.io/d-tut/index.html
⚪ https://github.com/xomboverlord/xomb/tree/unborn
⚪ http://p0nce.github.io/d-idioms/
⚪ https://github.com/Hackerpilot/DCD/tree/master/editors
⚪ https://github.com/adamdruppe/arsd/blob/master/terminal.d
⚪ http://d-gamedev-team.github.io/gfm/
⚪ https://github.com/CyberShadow/ae/tree/master/utils/graphics
✅ https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg
@Palem1988
Palem1988 / embulk_meetup.txt
Last active March 24, 2020 22:58 — forked from hiroyuki-sato/embulk_meetup.txt
embulk meetup text
* 2015/12/15 [Embulk meeaup Tokyo#2](http://eventdots.jp/event/575046) が東京渋谷で開催されました。
* Embulk - 進化するバルクデータローダ Treasure Data, Inc. Sadayuki Furuhashiさん (@frsyuki)
* Embulk at Treasure Data, Inc. Treasure Data, Inc. Satoshi Akamaさん (@oreradio)
* [新人がEmbulk mBaaSプラグインを開発した話](http://www.slideshare.net/yuyaniimi/20151215-embulk) ニフティ株式会社 新美 雄也さん
* [Embulkに足りない5つのこと](https://speakerdeck.com/civitaspo/embulknizu-rinai5tufalsekoto?utm_source=dlvr.it&utm_medium=twitter) DeNA. co., ltd. 中山貴博さん(@Civitaspo)
* [あえてEmbulkを使ってログ監視すると幸せになれる状況、およびその導入事例](https://speakerdeck.com/muziyoshiz/embulk-meetup-tokyo-number-2) GMOインターネット 吉澤 政洋 (@muziyoshiz) ※ページ内のの無印吉澤 HatenaBlogの記事も併せて参照してください。
* [Embulkを活用したログ管理システム](http://www.slideshare.net/zoetrope/embulk) 池添 明宏 (@zoetro)さん
* 参加者のまとめ
* [Embulk Meetup Tokyo #2 に行ってきました](http://takemikami.com/2015/12/15/Embulk-Meetup-Tokyo-2.html)
@Palem1988
Palem1988 / leporine.md
Created March 24, 2020 22:57 — forked from johncantrell97/leporine.md
How To Obtain The Leporine Key

Hello again.

I was not the first to find the key this time, props to EnigmaZer0 for this one! After seeing that everyone enjoyed understanding how the first clues were solved I thought I'd provide an explanation for The Leporine Key.

The second clue dropped early afternoon EDT on (easter) Sunday April 21 2019. The clue can be viewed on the satoshis treasure website here and looked like this:


 _____       _            _     _ _       _____
/  ___|     | |          | |   (_| )     |_   _|
@Palem1988
Palem1988 / satoshistreasure.md
Created March 24, 2020 22:55 — forked from vdt/satoshistreasure.md
How I Obtained Satoshi's Treasure Keys 1, 2, and 3 in Minutes

Today (April 16th 2019 at noon) the first major clues to discover key #1 was set to be released in a few cities. A QR code with the words 'orbital' were found at these locations and looked like this: (https://imgur.com/a/6rNmz7T). If you read the QR code with your phone you will be directed to this url: https://satoshistreasure.xyz/k1

At this URL you are prompted to input a passphrase to decrypt the first shard. An obvious first guess was to try the word 'orbital' from the QR code. Not suprisingly this worked! This reveals a congratulations page and presents the first key shard:

ST-0001-a36e904f9431ff6b18079881a20af2b3403b86b4a6bace5f3a6a47e945b95cce937c415bedaad6c86bb86b59f0b1d137442537a8.

Now, we were supposed to wait until April 17th to get clues from the other cities for keys #2 and #3 but that wouldn't stop me from digging around with all the new information we had. All that time "playing" notpron (http://notpron.org/notpron/) years ago was going to help me here.

The first thing I noticed was

@Palem1988
Palem1988 / paypal_experience.md
Created March 24, 2020 22:54 — forked from vdt/paypal_experience.md
Ask HN: Is this Paypal experience customary?

Here is a succinct timeline of the events.

  • I received a Paypal notification that 600 USD were deposited on my account.
  • I was not expecting any money, so I logged in to see what this is about.
  • Apparently someone paid me for an item they bought on Ebay.
  • The information contained on my Paypal account about the transaction, did NOT contain any information on what this is about.
  • I am NOT an Ebay seller, so I have nothing else to follow this up.
  • My first thought (apart from quickly spending the money) was that some poor soul after thinking that they have paid for an item they would wait for ever for an item they thought they purchased, only to never receive it.
  • So I spent some considerable amount of time trying to locate the seller from their name only (did not have an email) by googling around, to clarify the issue
  • As it was getting late, I left the issue to continue the next day.
@Palem1988
Palem1988 / segfault.py
Created March 24, 2020 22:54 — forked from vdt/segfault.py
Make CPython segfault in 5 lines of code.
class E(BaseException):
def __new__(cls, *args, **kwargs):
return cls
def a(): yield
a().throw(E)
@Palem1988
Palem1988 / an-inquiry-into-matplotlib-figures.ipynb
Created March 24, 2020 22:53 — forked from vdt/an-inquiry-into-matplotlib-figures.ipynb
An Inquiry into Matplotlib's Figures, Axes, subplots and the very amazing GridSpec!
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Palem1988
Palem1988 / web-servers.md
Created March 24, 2020 22:53 — forked from vdt/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
SELECT
repo.name AS repository,
COUNT(*) AS pull_requests,
EXACT_COUNT_DISTINCT(actor.login) AS contributors
FROM
[githubarchive:year.2016]
WHERE
type IN ( 'PullRequestEvent')
AND JSON_EXTRACT(payload, '$.action') IN ('"opened"')
GROUP BY
@Palem1988
Palem1988 / pmt.go
Created March 24, 2020 22:52 — forked from vdt/pmt.go
package main
import (
"fmt"
"math"
)
// Don't use float32
// float64 precision is required for this to work correctly
func PMT(p, r, n float64) float64 {