This file contains 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
use std::sync::RwLock; | |
use std::sync::Arc; | |
use neon::prelude::*; | |
struct Obj<'data> { | |
a: u16, | |
b: PhantomData<&'data u8> | |
} | |
pub struct User<'data> { |
This file contains 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
diff --git a/src/xdisp.c b/src/xdisp.c | |
index 50fd685778..1ec3b0c376 100644 | |
--- a/src/xdisp.c | |
+++ b/src/xdisp.c | |
@@ -27626,6 +27626,15 @@ produce_stretch_glyph (struct it *it) | |
width = max (0, (int)tem + align_to - it->current_x); | |
zero_width_ok_p = true; | |
} | |
+ else if ((prop = Fplist_get (plist, QCre_align), !NILP (prop))) | |
+ { |
This file contains 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
(require 'package) | |
(setq package-archives '(("marmalade" . "https://marmalade-repo.org/packages/") | |
("melpa" . "https://melpa.org/packages/") | |
("gnu" . "http://elpa.gnu.org/packages/"))) | |
(package-initialize) |
This file contains 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/bash | |
# You can call this script like this: | |
# $./volume.sh up | |
# $./volume.sh down | |
# $./volume.sh mute | |
function get_volume { | |
amixer get Master | grep '%' | head -n 1 | cut -d '[' -f 2 | cut -d '%' -f 1 | |
} |
This file contains 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
(require 'dash) | |
(require 's) | |
(require 'loop) | |
(require 'icons-in-terminal) | |
(defun my-char-at-point (&optional p) | |
"P." | |
(let ((point (or p (point)))) | |
(if (< point (point-max)) (buffer-substring-no-properties point (1+ point)) | |
""))) |
This file contains 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
(defconst my-icons-in-terminal-alist | |
'( | |
( oct_flame . "\xe092" ) | |
)) | |
(defun my-icons-in-terminal (name &rest attributes) | |
"." | |
(let* ((list-attributes '(:family "icons-in-terminal")) | |
;;; (let* ((list-attributes (list :family "icons-in-terminal")) |
This file contains 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
;; With this code, yasnippet will expand the snippet if company didn't complete the word | |
;; replace company-complete-common with company-complete if you're using it | |
(advice-add 'company-complete-common :before (lambda () (setq my-company-point (point)))) | |
(advice-add 'company-complete-common :after (lambda () | |
(when (equal my-company-point (point)) | |
(yas-expand)))) |
This file contains 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
starting traces for chapui_s | |
pickup trace: | |
Repo: /chapui_s/PSU_2014_myftp | |
City: PAR | |
Status: Success | |
Logs: . Ok | |
Date: Sun, 22 Mar 2015 23:52:46 | |
Remote Branches: | |
origin/master |