This is an example on how to mock a file with string.
Testing a function which opens a file and does some kind of operation on it.
(defun user/tramp-layer () | |
"Enable TRAMP to use distrobox to transparently enter containers." | |
(use-package tramp | |
:commands (eshell shell term ansi-term) | |
:custom | |
(tramp-histfile-override "/dev/null") | |
:config | |
(add-to-list 'tramp-remote-path 'tramp-own-remote-path) ; make sure TRAMP/any shell you use checks the path variable of the container as well as its own | |
(message "Loading tramp...") | |
;; TRAMP 2.7.1 will have distrobox built in, so this won't be necessary for much longer! |
## Mobile First Method | |
/* Custom, iPhone Retina */ | |
@media only screen and (min-width : 320px) { | |
} | |
/* Extra Small Devices, Phones */ | |
@media only screen and (min-width : 480px) { | |
#!/bin/bash - | |
#title :mkscript.sh | |
#description :This script will make a header for a bash script. | |
#author :bgw | |
#date :20111101 | |
#version :0.4 | |
#usage :bash mkscript.sh | |
#notes :Install Vim and Emacs to use this script. | |
#bash_version :4.1.5(1)-release | |
#============================================================================== |
from django.db import models | |
from django.core.cache import cache | |
class SingletonModel(models.Model): | |
class Meta: | |
abstract = True | |
def delete(self, *args, **kwargs): | |
pass |
gem: | |
--bindir ~/.local/bin | |
--no-ri --no-rdoc |
People
![]() :bowtie: |
๐ :smile: |
๐ :laughing: |
---|---|---|
๐ :blush: |
๐ :smiley: |
:relaxed: |
๐ :smirk: |
๐ :heart_eyes: |
๐ :kissing_heart: |
๐ :kissing_closed_eyes: |
๐ณ :flushed: |
๐ :relieved: |
๐ :satisfied: |
๐ :grin: |
๐ :wink: |
๐ :stuck_out_tongue_winking_eye: |
๐ :stuck_out_tongue_closed_eyes: |
๐ :grinning: |
๐ :kissing: |
๐ :kissing_smiling_eyes: |
๐ :stuck_out_tongue: |