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
{ | |
"type": "fill", | |
"rect": [ | |
-0.00029754638671875, | |
-0.00029754638671875, | |
100.86669921875, | |
107.99970245361328 | |
], | |
"style": { | |
"fillColor": "#2F2F2FFF", |
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
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"basics": { | |
"name": "Younes El Alami", | |
"label": "Senior Frontend Engineer", | |
"email": "[email protected]", | |
"phone": "(+212 06 54 65 45 86)", | |
"url": "https://github.com/ShadOoW", | |
"location": { | |
"city": "Casablanca" |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Leaflet Web Map</title> | |
<!-- reference to Leaflet CSS --> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" /> |
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
--For debugging | |
local naughty = require("naughty") | |
helper = { | |
inTable = function(tbl, item) | |
for key, value in pairs(tbl) do | |
if value == item then return key end | |
end | |
return false | |
end, |
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
function bindKey(boundKey, boundPressAction, boundReleaseAction, boundTick, boundDelay) | |
--default values | |
boundPressAction = boundPressAction or function() end | |
boundReleaseAction = boundReleaseAction or function() end | |
boundTick = boundTick or 100 | |
boundDelay = boundDelay or 300 | |
--helper functions | |
--Note: couldn't use lua os.time os.clock to achieve this so i used io.popen(date... i'm not ashamed :D | |
function getSystemTime() |
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: Oleg Shparber <[email protected]> | |
# Contributor: Bartłomiej Piotrowski <[email protected]> | |
# Contributor: Andrea Scarpino <[email protected]> | |
# Contributor: Sébastien Luttringer | |
# Contributor: xduugu | |
# Contributor: Ronald van Haren <ronald.archlinux.org> | |
# Contributor: Vesa Kaihlavirta | |
# URL: https://github.com/trollixx/aur-packages | |
# Upstream: | |
https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/awesome |
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
function wifi_menu () | |
local wifis = {} | |
local terms = {} | |
local connected = false | |
local connected_network = "" | |
local connected_network_index = -1 | |
local fh = io.popen("netctl list") | |
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
battery_icons = {'', '', '', '', ''} | |
-- Create a battery widgets | |
batterywidget = wibox.widget.textbox() | |
batterywidget:set_text(" Battery | ") | |
batterywidgettimer = timer({ timeout = 5 }) | |
batterywidgettimer:connect_signal("timeout", | |
function() | |
fh = assert(io.popen("acpi | cut -d, -f 2 -", "r")) | |
local num = tonumber(string.sub(fh:read("*l"),1,-2)) |
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
-- Multimedia Keys | |
awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer sset Master unmute") awful.util.spawn("amixer set Master 9%+") end), | |
awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer sset Master unmute") awful.util.spawn("amixer set Master 9%-") end), | |
awful.key({ }, "XF86AudioMute", function () awful.util.spawn("amixer sset Master toggle") end), | |
awful.key({ }, "XF86AudioPlay", function () awful.util.spawn("mocp --toggle-pause") end), | |
awful.key({ }, "XF86AudioStop", function () awful.util.spawn("mocp --toggle-pause") end), | |
awful.key({ }, "XF86AudioPrev", function () awful.util.spawn("mocp --previous") end), | |
awful.key({ }, "XF86AudioNext", function () awful.util.spawn("mocp --next") end), |