Skip to content

Instantly share code, notes, and snippets.

@Yomi0
Yomi0 / Function_Layer.kbd.json
Last active August 11, 2020 15:13 — forked from mmynsted/layout.kbd.json
Function_Layer
[
{
"name": "Function_Layer"
},
[
{
"a": 7
},
"",
"",
@Yomi0
Yomi0 / Function_Layer.kbd.json
Last active August 11, 2020 19:29 — forked from mmynsted/layout.kbd.json
Function_Layer
[
{
"name": "Function_Layer"
},
[
"~`",
"F1",
"F2",
"F3",
"F4",
# Design a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county sales tax. Assume the state sales tax is 4 percent and the county sales tax is 2 percent. The program should display the amount of the purchase, the state sales tax, the county sales tax, the total sales tax, and the total of the sale. (which is the sum of the amount of purchase plus the total sales tax).
# Hint: Use the value 0.02 to represent 2 percent, and 0.04 to represent 4 percent.
# Chapter 3 — Rewrite using functions instead...
# Get input
# Perfrom calculations...
# Print results...
"""
#include <stdio.h>
int main(void)
{
/* 1 pint is 2 cups.
1 cup is 8 ounces
1 oz is 2 tablespoons
1 tablespoon is 3 teaspoons. */
#!/usr/bin/python
#
# The Python Imaging Library
# $Id$
#
# convert sequence format to GIF animation
#
# history:
# 97-01-03 fl created
#
(gdb) bt
#0 0x00007f11eca45023 in av_freep () from /usr/lib/libavutil.so.54
#1 0x00000000004a66ca in uninit_avctx (vd=vd@entry=0xbc1c90) at ../video/decode/vd_lavc.c:504
#2 0x00000000004a6719 in uninit (vd=0xbc1c90) at ../video/decode/vd_lavc.c:273
#3 0x00000000004a5601 in video_uninit (d_video=0xbc1c90) at ../video/decode/dec_video.c:88
#4 0x000000000047d2c5 in vo_chain_uninit (vo_c=0xbc1bc0) at ../player/video.c:288
#5 uninit_video_chain (mpctx=mpctx@entry=0xb6b060) at ../player/video.c:304
#6 0x000000000047021d in play_current_file (mpctx=0xb6b060) at ../player/loadfile.c:1375
#7 mp_play_files (mpctx=mpctx@entry=0xb6b060) at ../player/loadfile.c:1507
#8 0x000000000047216c in mpv_main (argc=<optimized out>, argv=0x7ffcdb04e4e8)
[2014-08-21 04:07] [PACMAN] installed pacman-mirrorlist (20140706-1)
[2014-08-23 20:05] [PACMAN] upgraded pacman-mirrorlist (20140706-1 -> 20140823-1)
[2014-09-02 14:39] [PACMAN] upgraded pacman-mirrorlist (20140823-1 -> 20140901-1)
[2014-10-29 13:49] [PACMAN] upgraded pacman-mirrorlist (20140901-1 -> 20141028-1)
[2014-11-08 13:56] [PACMAN] upgraded pacman-mirrorlist (20141028-1 -> 20141108-1)
[2014-11-18 12:04] [PACMAN] upgraded pacman-mirrorlist (20141108-1 -> 20141116-1)
[2014-12-17 12:56] [PACMAN] upgraded pacman-mirrorlist (20141116-1 -> 20141217-1)
[2015-01-06 12:32] [ALPM] upgraded pacman-mirrorlist (20141217-1 -> 20150105-1)
[2015-02-06 12:50] [ALPM] upgraded pacman-mirrorlist (20150105-1 -> 20150205-1)
[2015-03-01 10:17] [ALPM] upgraded pacman-mirrorlist (20150205-1 -> 20150228-1)
[06:42:16 | yomi@xana ~] » find ~/software -path '*-git' -iname '*.pkg.tar*' -print
find: `/home/yomi/software/elementary/pkgbuild/pkg': Permission denied
find: `/home/yomi/software/python-efl/pkg': Permission denied
find: `/home/yomi/software/makepkg/efl-git/pkg': Permission denied
find: `/home/yomi/software/makepkg/elementary-git/pkg': Permission denied
find: `/home/yomi/software/pkg': Permission denied
find: `/home/yomi/software/elementary-git/pkg': Permission denied
/home/yomi/Music
├── 00_character_select.mp3
├── 00_duel_theme_1.mp3
├── 00_duel_theme_2.mp3
├── 00_duel_theme_3.mp3
├── 00_duel_theme_4.mp3
├── 00_duel_theme_6.mp3
├── 00_duel_theme_7.mp3
├── 01 Passion ~single version~.mp3
├── 02-manchester_orchestra-shake_it_out.mp3
@Yomi0
Yomi0 / rpatch
Created April 10, 2015 03:26
rpatch
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.64
!!################################
!!Script ran on: Fri Apr 10 03:15:46 UTC 2015
!!Linux Distribution
!!------------------