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
| ;;; -*- lexical-binding: t -*- | |
| (custom-set-variables | |
| ;; custom-set-variables was added by Custom. | |
| ;; If you edit it by hand, you could mess it up, so be careful. | |
| ;; Your init file should contain only one such instance. | |
| ;; If there is more than one, they won't work right. | |
| '(package-selected-packages '(slime))) | |
| (custom-set-faces | |
| ;; custom-set-faces was added by Custom. | |
| ;; If you edit it by hand, you could mess it up, so be careful. |
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
| ;;; -*- lexical-binding: t -*- | |
| (custom-set-variables | |
| ;; custom-set-variables was added by Custom. | |
| ;; If you edit it by hand, you could mess it up, so be careful. | |
| ;; Your init file should contain only one such instance. | |
| ;; If there is more than one, they won't work right. | |
| '(package-selected-packages '(sly))) | |
| (custom-set-faces | |
| ;; custom-set-faces was added by Custom. | |
| ;; If you edit it by hand, you could mess it up, so be careful. |
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
| (require 'package) | |
| (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) | |
| (setq sly-lisp-implementations | |
| '((sbcl ("c:/Program Files/Steel Bank Common Lisp/sbcl.exe")))) | |
| (setq sly-default-lisp 'sbcl) | |
| (require 'sly) |
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
| const std = @import("std"); | |
| // Although this function looks imperative, it does not perform the build | |
| // directly and instead it mutates the build graph (`b`) that will be then | |
| // executed by an external runner. The functions in `std.Build` implement a DSL | |
| // for defining build steps and express dependencies between them, allowing the | |
| // build runner to parallelize the build automatically (and the cache system to | |
| // know when a step doesn't need to be re-run). | |
| pub fn build(b: *std.Build) void { | |
| // Standard target options allow the person running `zig build` to choose |
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
| pub const UNICODE = true; | |
| const win32 = @import("win32").everything; | |
| const L = win32.L; | |
| const HWND = win32.HWND; | |
| pub export fn wWinMain( | |
| hInstance: win32.HINSTANCE, | |
| _: ?win32.HINSTANCE, | |
| pCmdLine: [*:0]u16, | |
| nCmdShow: u32, |
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
| #include <QCoreApplication> | |
| #include <QTextStream> | |
| int main(int argc, char *argv[]) | |
| { | |
| QCoreApplication a(argc, argv); | |
| QTextStream(stdout) << "Hello, world\n"; | |
| return a.exec(); | |
| } |
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
| <pre><code class="language-bash">netsh advfirewall firewall add rule name="RPC Endpoint Mapper" dir=in action=allow protocol=TCP localport=135 | |
| </code></pre> |
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
| <link href='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/default.min.css' rel='stylesheet'/> | |
| <script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/highlight.min.js'/> | |
| <script type='text/javascript'> | |
| hljs.configure({cssSelector: "code"}); | |
| hljs.highlightAll(); | |
| </script> | |
| <script type='text/javascript'> | |
| //<![CDATA[ |
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
| network: | |
| version: 2 | |
| renderer: networkd | |
| ethernets: | |
| ens33: | |
| dhcp4: no | |
| dhcp6: no | |
| tap0: | |
| optional: true | |
| bridges: |
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
| [Unit] | |
| Description=Create TAP interface tap0 | |
| Before=network-pre.target | |
| Wants=network-pre.target | |
| DefaultDependencies=no | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/sbin/ip tuntap add dev tap0 mode tap user u1 | |
| ExecStartPost=/sbin/ip link set tap0 up |
NewerOlder