Track | Name | Artist | Year | Genre |
---|---|---|---|---|
1 | Fly | Sugar Ray & Super Cat | 1997 | Rock |
2 | Mo Money Mo Problems (feat. Mase & Puff Daddy) [2014 Remastered Version] | The Notorious B.I.G. | 1997 | Hip-Hop/Rap |
3 | Can't Nobody Hold Me Down (feat. Mase) | Puff Daddy | 1997 | Hip-Hop/Rap |
4 | How Bizarre (Mix) | OMC | 1995 | Rock |
5 | Ready or Not | Fugees | 1996 | Hip-Hop/Rap |
6 | Here Comes the Hotstepper (Heartical Mix) | Ini Kamoze | 1994 | Pop |
7 | 1979 | Smashing Pumpkins | 1995 | Hard Rock |
8 | U Can't Touch This | MC Hammer | 1990 | Hip-Hop/Rap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"database/sql" | |
sqliteGo "github.com/mattn/go-sqlite3" | |
uuid "github.com/satori/go.uuid" | |
log "github.com/sirupsen/logrus" | |
"gorm.io/driver/sqlite" | |
"gorm.io/gorm" | |
"gorm.io/gorm/logger" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script was created to convert a directory full | |
# of rst files into md equivalents. It uses | |
# pandoc to do the conversion. | |
# | |
# 1. Install pandoc from http://johnmacfarlane.net/pandoc/ | |
# 2. Copy this script into the directory containing the .rst files | |
# 3. Ensure that the script has execute permissions | |
# 4. Run the script | |
# | |
# By default this will keep the original .rst file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hacking/ibutsu-server [master] » docker-compose logs worker | |
Attaching to ibutsu-server_worker_1 | |
worker_1 | /usr/local/lib/python3.7/site-packages/celery/platforms.py:801: RuntimeWarning: You're running the worker with superuser privileges: this is | |
worker_1 | absolutely not recommended! | |
worker_1 | | |
worker_1 | Please specify a different user using the --uid option. | |
worker_1 | | |
worker_1 | User information: uid=1001 euid=1001 gid=0 egid=0 | |
worker_1 | | |
worker_1 | uid=uid, euid=euid, gid=gid, egid=egid, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"telemetry.enableTelemetry": false, | |
"telemetry.enableCrashReporter": false, | |
"python.linting.enabled": true, | |
"python.linting.flake8Enabled": true, | |
"python.linting.pylintEnabled": false, | |
"python.pythonPath": "/usr/local/bin/python3", | |
"python.unitTest.unittestEnabled": false, | |
"python.unitTest.pyTestEnabled": true, | |
"python.unitTest.nosetestsEnabled": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import tkinter as tk | |
import math | |
import re | |
from collections import ChainMap | |
Nrows = 5 | |
Ncols = 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[run] | |
branch = True | |
source = . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: python | |
python: | |
- 3.5 | |
services: | |
- postgresql | |
addons: | |
postgresql: '9.4' | |
chrome: stable | |
before_install: | |
- wget https://chromedriver.storage.googleapis.com/2.33/chromedriver_linux64.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"facts": | |
{ | |
"architecture": "x86_64", | |
"augeasversion": "1.4.0", | |
"bios_release_date": "06/27/2012", | |
"bios_vendor": "IBM Corp.", | |
"bios_version": "-[JQE150AUS-1.02]-", | |
"blockdevice_sda_model": "ST500NM0011", | |
"blockdevice_sda_size": "500107862016", |
Some simple code to show the differences between using namedtuple
from the collections
module and NamedTuple
from the typing
module. Extra points for using type hinting.
Using namedtuple
from the collections
module:
>>> from platforms_namedtuple_35 import *
>>> system_1 = RHEL7
>>> system_2 = RHEL5
NewerOlder