Skip to content

Instantly share code, notes, and snippets.

@suzker
suzker / arch_auto_mount_ntfs
Last active September 11, 2023 20:30
[ARCH] auto mounting NTFS drives
>> set up mount point
sudo mkdir /mnt/2tb
>> list drives
sudo fdisk -l
>> install ntfs-3g
@suzker
suzker / arch_smb_setup
Last active October 16, 2023 09:42
[ARCH] Setting up Samba sharing on ArchLinux
>> Install Samba
pacman -S samba
>> Cp configuration file from default
cp /etc/samba/smb.conf.default /etc/samba/smb.conf
>> add share to Share configuration section
[2tb]
@suzker
suzker / cppheapqueue.cpp
Created October 20, 2012 16:14
c++ heap/queuee exmaple
#include <iostream>
#include <vector>
#include <algorithm>
#include <stdio.h>
#include <queue>
#include <stdlib.h>
using namespace std;
class job {
@suzker
suzker / demo2.html
Created October 5, 2012 16:30
Distance from calling the Distance Matrix Service
<!-- Suzker -->
<!DOCTYPE html>
<html>
<head>
<title>Compute Distance by the Routing Service</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<style>
html, body, #map_canvas {
margin: 0;
@suzker
suzker / demo.html
Created October 5, 2012 03:22
coord filter logic in javascript
<!-- Suzker -->
<!DOCTYPE html>
<html>
<head>
<title>Compute Distance by the Routing Service</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<style>
html, body, #map_canvas {