This file contains hidden or 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
shadow = true; | |
no-dnd-shadow = true; | |
no-dock-shadow = true; | |
clear-shadow = true; | |
shadow-radius = 5; | |
shadow-offset-x = -7; | |
shadow-offset-y = -7; | |
shadow-opacity = 1; | |
shadow-red = 0.0; | |
shadow-green = 0.0; |
This file contains hidden or 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
shadow = true; | |
no-dnd-shadow = true; | |
no-dock-shadow = true; | |
clear-shadow = true; | |
shadow-radius = 5; | |
shadow-offset-x = -7; | |
shadow-offset-y = -7; | |
shadow-opacity = 1; | |
shadow-red = 0.0; | |
shadow-green = 0.0; |
This file contains hidden or 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
# Maintainer: D. Can Celasun <dcelasun[at]gmail[dot]com> | |
pkgname=visual-studio-code | |
pkgver=1.6.1 | |
pkgrel=0 | |
pkgdesc="Editor for building and debugging modern web and cloud applications (official binary version)" | |
arch=('x86_64' 'i686') | |
url="https://code.visualstudio.com/" | |
license=('custom: commercial') | |
provides=('vscode','visualstudiocode') |
This file contains hidden or 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
[root] | |
name = "hello" | |
version = "0.1.0" | |
dependencies = [ | |
"cards 1.1.2 (git+https://github.com/th4t/cards-rs.git)", | |
"holdem 0.1.2 (git+https://github.com/th4t/holdem-rs.git)", | |
"pokereval 0.1.2 (git+https://github.com/th4t/pokereval-rs.git)", | |
] | |
[[package]] |
This file contains hidden or 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
# bspwm hotkeys | |
# | |
# Cleanly quit bspwm | |
#super + shift + q | |
# bspc quit 1 && pkill lemonpanel && pkill lemonbar | |
#super + space | |
# synapse |
This file contains hidden or 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
#! /bin/sh | |
gap=4 | |
PANEL_HEIGHT=22 | |
BORDER_WIDTH=2 | |
export gap | |
export PANEL_HEIGHT | |
export BORDER_WIDTH | |
#This creates negative padding equal to window gap so that gaps are shown only between windows and not on desktop edges. | |
bspc config window_gap $gap; |
This file contains hidden or 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_once is a script in /usr/bin that prevents running script if it is running already | |
## | |
## To enable pulseaufio, uncomment this and run sudo pacman -S pavucontrol pulseaudio-ctl manjaro-pulse | |
#pulseaudio --start & | |
#sleep 2s && volume 37 & | |
## Load appearance settings | |
xsetroot -cursor_name left_ptr & | |
#export GTK2_RC_FILES="$HOME/.gtkrc-2.0" & | |
#xrdb merge .Xresources & | |
xfsettingsd --sm-client-disable & |
This file contains hidden or 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
/** | |
Simple example on how to use the nwg template system. | |
*/ | |
#[macro_use] extern crate native_windows_gui as nwg; | |
use nwg::{Event, Ui, simple_message, fatal_message, dispatch_events}; | |
/// Custom enums are the preferred way to define ui ids. It's clearer and more extensible than any other types (such as &'str). | |
#[derive(Debug, Clone, Hash)] |
This file contains hidden or 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
[doaxan@doaxan-pc untitled]$ nimble build -d:release -f | |
Verifying dependencies for untitled@0.1.0 | |
Building untitled/untitled using c backend | |
Tip: 5 messages have been suppressed, use --verbose to show them. | |
Error: Build failed for package: untitled | |
... Details: | |
... Execution failed with exit code 1 | |
... Command: "/usr/bin/nim" c --noBabelPath -d:release -f -o:"/home/doaxan/Dev/Nim/untitled/untitled" "/home/doaxan/Dev/Nim/untitled/src/untitled.nim" | |
... Output: Hint: used config file '/etc/nim.cfg' [Conf] | |
... Hint: system [Processing] |
This file contains hidden or 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
fn main() { | |
let mut count = 0; | |
for k in 2_u32..3 { | |
for x in 1_u32..101 { | |
for a in 1_u32..101 { | |
for b in 1_u32..101 { | |
for c in 1_u32..101 { | |
for d in 1_u32..101 { | |
if u32::pow(x, k) == u32::pow(a, k) + u32::pow(b, k) + u32::pow(c, k) + u32::pow(d, k) { | |
count += 1; |
OlderNewer