Skip to content

Instantly share code, notes, and snippets.

View fredj's full-sized avatar

Frédéric Junod fredj

View GitHub Profile
[Settings]
gtk-application-prefer-dark-theme=0
gtk-theme-name=Arc
gtk-icon-theme-name=Adwaita
gtk-font-name=Sans 10
gtk-cursor-theme-name=DMZ-White
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
# exit i3 (logs you out of your X session)
set $mode_system System (e) logout, (r) reboot, (Shift+s) shutdown
mode "$mode_system" {
bindsym e exec --no-startup-id i3exit logout, mode "default"
bindsym r exec --no-startup-id i3exit reboot, mode "default"
bindsym Shift+s exec --no-startup-id i3exit shutdown, mode "default"
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
@fredj
fredj / keybindings.json
Last active November 21, 2018 16:19
vscode
[
{
"key": "ctrl+x ctrl+f",
"command": "workbench.action.quickOpen"
},
{
"key": "ctrl+x ctrl+s",
"command": "workbench.action.files.save"
},
{

Keybase proof

I hereby claim:

  • I am fredj on github.
  • I am fredj (https://keybase.io/fredj) on keybase.
  • I have a public key ASCVtZcshhSwBvZcS7fuOpQmCjBQrq8zg_efuop5LuswMQo

To claim this, I am signing this object:

@fredj
fredj / route.csv
Last active October 20, 2017 12:32
winter
id change_date land number title_admin title_de title_fr title_it title_en title_short_de title_short_fr title_short_it title_short_en title_alias_de title_alias_fr title_alias_it title_alias_en category international has_segment title_start title_via title_end abstract_de abstract_fr abstract_it abstract_en description_de description_fr description_it description_en length length_asphalt length_unsurfaced length_singletrail heightdiff heightdiff_back heightdownwards hikingtime hikingtime_back category_grade category_grade_text_de category_grade_text_fr category_grade_text_it category_grade_text_en category_grade_skiing category_condition category_condition_text_de category_condition_text_fr category_condition_text_it category_condition_text_en panel panel_hasnumber panel_logo_img signal_way signal_roundtrip signal_photo_img signal_icon_img signal_text_de signal_text_fr signal_text_it signal_text_en address_name address_name2 address_street address_zip address_city address_phone address_fax address_email addr
#!/usr/bin/perl
#
# PostGIS - Spatial Types for PostgreSQL
# http://postgis.net
#
# Copyright (C) 2011 OpenGeo.org
# Copyright (C) 2009 Paul Ramsey <pramsey@cleverelephant.ca>
#
# This is free software; you can redistribute and/or modify it under
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Vector Features Performance Test</title>
<style type="text/css">
body {
font-size: 0.8em;
}
p {
padding-top: 1em;
}
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Participant's location">
<Require feature="rpc"/>
<Require feature="views"/>
</ModulePrefs>
<Content type="html"><![CDATA[
<!doctype html>
<html>
<head>
@fredj
fredj / ol3 memory
Last active February 23, 2018 07:52
ol.layer.Base.prototype.getLayerState
ol.View.prototype.getState
[x] array stableSort
[ ] pointer centroid
[ ] getLayerState only on change
[ ] isColorLike
@fredj
fredj / gist:88d841facba2f826acb3
Last active August 29, 2015 14:27
cesium "immersive" mode
car simulator:
milk truck:
demo: http://analyticalgraphicsinc.github.io/cesium-google-earth-examples/demos/milktruck/
code: https://github.com/AnalyticalGraphicsInc/cesium-google-earth-examples/blob/master/demos/milktruck/milktruck.js
tQuery car plugin:
demo: http://jeromeetienne.github.io/tquery/plugins/car/examples/
code: https://github.com/jeromeetienne/tquery/tree/master/plugins/car