Skip to content

Instantly share code, notes, and snippets.

deby db0company

Block or report user

Report or block db0company

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:b68aeadeebfd9a4340406d66cd3d441a
card id, level, appeal, stamina, technique for SR Honoka
100012001 1 1280 960 960
100012001 2 1291 969 969
100012001 3 1302 977 977
100012001 4 1313 985 985
100012001 5 1324 993 993
100012001 6 1335 1001 1001
100012001 7 1346 1009 1009
100012001 8 1356 1017 1017
100012001 9 1367 1026 1026
@db0company
db0company / circles9.md
Last active Jul 17, 2018
Circles Fiesta #9
View circles9.md
View Summary of Circles Fista #1
Bandori Party:
- has activities now!
- preview of the new logo by violerR
- available in Vietnamese
- French translation fully completed
Cinderella Producers:
- We are updating it, and it will be about the whole Idolm@ster license!
School Idol Tomodachi:
@db0company
db0company / gist:e8c34e7518709fc4adcc02166b812a74
Created Jun 19, 2018
Google sheets convert yens to us dollars
View gist:e8c34e7518709fc4adcc02166b812a74
=GOOGLEFINANCE("CURRENCY:JPYUSD")*REGEXEXTRACT(C182,"\d+")
View showHideFormFields.js
// this is the function being called whenever a page gets loaded, including when you scroll to get the next page
// you need to configure your view in magicollections.py to specify that you want this function to be called
// this function is in main.py, but for some pages that are not loaded often (staff pages, settings) or are
// big enough you can have a file just for this page like `settings.js` (for what you're trying to do main.js is enough)
function loadCardInList() {
...
// Show/hide include_cameos when member_id is set
// $(xxx) is a way to retrieve an HTML element currently on the page
// "#sidebar-wrapper #id_member_id" is the selector to find the elements. it's very similar to CSS selectors.
View availability_calendar.py
# Original calendar thingy
@property
def availability_calendar(self):
calendar = [['', 'M', 'T', 'W', 'T', 'F', 'S', 'S']] + [
[self._I_TO_AVAILABILITY[i] if j == 0 else 'no' for j in range(8)]
for i in range(len(self.AVAILABILITY_CHOICES))
]
for a, v in self.availability.items():
if v:
@db0company
db0company / ranking.sh
Created May 18, 2017
Takes a file with one vote per line, returns a ranking
View ranking.sh
cat votes.txt | sort | uniq -c | sort -r
View react.el
(add-to-list 'load-path "~/.emacs.d/installed/")
(when (fboundp 'electric-indent-mode) (electric-indent-mode -1))
(require 'web-mode)
(add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.[agj]sp\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.as[cp]x\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode))
@db0company
db0company / twitter-images-rename.sh
Created Feb 3, 2017
When you save images from Twitter desktop, they get saved as .png-large or .jpg-large. This script removes the -large so the files are recognized as images.
View twitter-images-rename.sh
for img in `ls *-large`; do newimg=`echo $img | rev | cut -d'-' -f2- | rev`; echo $newimg; mv $img $newimg; done
View skills_sentences.md

Perfect Lock

notes

For every N notes, there is a N% chance of turning all goods and greats in the next N seconds into perfects. (Level 1)

seconds

Every N seconds, there is a N% chance of turning all goods and greats in the next N seconds into perfects. (Level 1)

You can’t perform that action at this time.