Skip to content

Instantly share code, notes, and snippets.

@Sammers21
Sammers21 / log.txt
Last active August 23, 2017 14:19
python-planet
sammers21@ROSA ~/rpmbuild/SPECS $ rpmbuild -bb python-planet.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.56707
+ umask 022
+ cd /home/sammers21/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/sammers21/rpmbuild/BUILD
+ rm -rf planet-2.0
+ /bin/tar -xf -
@Sammers21
Sammers21 / log.txt
Created August 23, 2017 15:56
python-sampy
sammers21@ROSA ~/rpmbuild/SPECS $ rpmbuild -bb python-sampy.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2169
+ umask 022
+ cd /home/sammers21/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/sammers21/rpmbuild/BUILD
+ rm -rf sampy-1.2.1
+ /bin/tar -xf -
@Sammers21
Sammers21 / log.txt
Created August 23, 2017 17:50
python3-sampy
sammers21@ROSA ~/rpmbuild/SPECS $ rpmbuild -bb python3-sampy.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.86656
+ umask 022
+ cd /home/sammers21/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/sammers21/rpmbuild/BUILD
+ rm -rf sampy-1.2.1
+ /bin/tar -xf -
@Sammers21
Sammers21 / log.txt
Created August 24, 2017 09:35
python-semantic_version
sammers21@ROSA ~/rpmbuild/SPECS $ rpmbuild -bb python-semantic_version.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.39158
+ umask 022
+ cd /home/sammers21/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ %autosetup -n python-semanticversion-2.6.0
/var/tmp/rpm-tmp.39158: line 28: fg: no job control
error: Bad exit status from /var/tmp/rpm-tmp.39158 (%prep)
@Sammers21
Sammers21 / log.txt
Created August 24, 2017 10:05
python3-tinysegmenter
sammers21@ROSA ~/rpmbuild/SPECS $ rpmbuild -bb python3-tinysegmenter.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.38547
+ umask 022
+ cd /home/sammers21/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/sammers21/rpmbuild/BUILD
+ rm -rf tinysegmenter-0.1
+ /bin/tar -xf -
@Sammers21
Sammers21 / log.txt
Created September 9, 2017 20:16
vertx-mqtt tests
sammers-osx:vertx-mqtt sammers$ mvn clean install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for io.vertx:vertx-mqtt:jar:3.5.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-failsafe-plugin is missing. @ line 220, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
@Sammers21
Sammers21 / log.txt
Created September 9, 2017 20:20
vertx-mqtt test run
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for io.vertx:vertx-mqtt:jar:3.5.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-failsafe-plugin is missing. @ line 220, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
{
"Main": "com.example.HelloWorld",
"dependencies": [
"junit:junit:4.12"
]
}
@Sammers21
Sammers21 / q1.sql
Last active October 16, 2017 09:55
sql - b
SELECT
EXTRACT(YEAR FROM birthdate) AS birthyear,
count(*) AS num_players,
sum(medal_count) AS num_gold_medals
FROM players
INNER JOIN
results ON players.player_id = results.player_id
INNER JOIN (SELECT
players.player_id,
count(*) AS medal_count
@Sammers21
Sammers21 / task1.sql
Last active November 6, 2017 14:12
DB midterm
DROP TABLE IF EXISTS meal_consumption CASCADE;
DROP TABLE IF EXISTS recipe CASCADE;
DROP TABLE IF EXISTS ingr_count_recipe CASCADE;
DROP TABLE IF EXISTS ingredient CASCADE;
CREATE TABLE ingredient (
ing_name TEXT UNIQUE,
calories INT,
proteins INT,
fats INT,