Skip to content

Instantly share code, notes, and snippets.

@patchthecode
patchthecode / reset_idea_trial.sh
Created June 29, 2021 22:50 — forked from gulrich1/reset_idea_trial.sh
reset intellij trial
#!/bin/sh
#https://github.com/PythonicNinja/jetbrains-reset-trial-mac-osx/blob/master/runme.sh
for product in IntelliJIdea WebStorm DataGrip PhpStorm CLion PyCharm GoLand RubyMine Rider; do
echo "Closing $product"
ps aux | grep -i MacOs/$product | cut -d " " -f 5 | xargs kill -9
echo "Resetting trial period for $product"
@lambdalisue
lambdalisue / get-dslite-aftr-in-asahinet.md
Created June 9, 2021 05:53 — forked from stkchp/get-dslite-aftr-in-asahinet.md
ASAHIネットのDS-Liteの終端(AFTR)を取得するメモ

ASAHIネットのDS-Liteの終端(AFTR)を取得する

ASAHIネットがDS-Lite対応したので、 自宅の適当なLinuxルーターにて設定しようとして詰まったAFTR取得に関するメモ。

Linuxルーターを使ってる人向けのニッチなものだけど、情報として残しておく。

終端の情報公開について

#EXTM3U
#EXTINF:-1 tvg-id="skysfor1",proxy-skysfor1
https://ssi.prakashdivy.id/tv/skysfor1
#EXTINF:-1 tvg-id="spstream16",proxy-spstream16
https://ssi.prakashdivy.id/tv/spstream16
#EXTINF:-1 tvg-id="TVRINasional.id",TVRI Nasional
http://ott.tvri.co.id/Content/HLS/Live/Channel(TVRINASIONAL)/index.m3u8
@jaylinski
jaylinski / kodi_playlist
Last active May 3, 2024 02:12
Kodi playlist containing free and public TV streams from DE/AT/CH.
#EXTM3U
# Use https://epggw.a1.net/img/station/darkbg/200x200/ as logo URL.
# Use https://tvthek.orf.at/livestream/_token for new DRM tokens.
# See https://github.com/iptv-org/iptv/blob/master/streams/at.m3u
# TV
#EXTINF:-1 tvg-id="908",ORF 1
#KODIPROP:inputstream=inputstream.adaptive
#KODIPROP:inputstream.adaptive.manifest_type=mpd
#KODIPROP:inputstream.adaptive.license_type=com.widevine.alpha
@chwnam
chwnam / kt_starbucks_2019.py
Last active May 3, 2024 02:10
스타벅스 와이파이 자동 인증 파이썬3 스크립트
#!/usr/bin/env python3
import time
from http.cookiejar import Cookie
from re import search, findall
from urllib.parse import urlencode
from urllib.request import (
HTTPCookieProcessor,
HTTPRedirectHandler,
Request,
@vmartins
vmartins / mame-roms2.md
Last active May 3, 2024 02:08
MAME download all roms arcade (2/2)
@vmartins
vmartins / mame-roms1.md
Created September 27, 2022 17:49
MAME download all roms arcade (1/2)
@aranega
aranega / gmf-notation-pyecore.md
Last active May 3, 2024 02:05
This little guide show how to generate the Python/PyEcore code for the GMF Notation metamodel using pyecoregen

GMF Notation Model for Python

This little tutorial shows "in depth" how to generate Python/PyEcore code for the GMF-Notation metamodel using pyecoregen.

Generating the Metamodel Code

First, due to some dependencies expressed in the GMF Notation .ecore (relative paths towards other .ecore), it is required to have the full GMF Notation

@aranega
aranega / microreflexivekernel.py
Last active May 3, 2024 02:04
Micro reflexive MDE-like kernel in Python
class MList(object):
def __init__(self, owner, feature):
self.innerlist = []
self.owner = owner
self.feature = feature
def size(self):
return len(self.innerlist)
def append(self, value, update_opposite=True):