What do you want to save?
Add Code snippet
New code examples
-
C 2021-10-28 00:02:06
how to go to top of file in vim
Type "gg" in command mode. This brings the cursor to the first line NOTE: in linux terminal, open a file with vim like below. vim file.c In command mode (press Esc if you are not sure) you can use. type "gg", then cursor will point to... Add solution -
Shell/Bash 2021-10-25 04:47:16
gitignore for django project
# Django # *.log *.pot *.pyc __pycache__ db.sqlite3 media # Backup files # *.bak # If you are using PyCharm # .idea/**/workspace.xml .idea/**/tasks.xml .idea/dictionaries .idea/**/dataSources/ .idea/**/dataSources.ids .idea/**/dataSources.xml .... Add solution -
Shell/Bash 2021-10-24 09:45:14
apache virtual host file
# File: /etc/apache2/sites-available/domain1.com.conf <VirtualHost *:80> # Server Name (domain name) and any aliases ServerName domain1.com ServerAlias www.domain1.com #OPTIONAL Admin name ServerAdmin [email protected] # I... Add solution -
Shell/Bash 2021-10-23 20:20:12
gitignore for ue4
# Visual Studio 2015 user specific files .vs/ # Compiled Object files *.slo *.lo *.o *.obj # Precompiled Headers *.gch *.pch # Compiled Dynamic libraries *.so *.dylib *.dll # Fortran module files *.mod # Compiled Static libraries *.lai *.la *.a *.lib... Add solution -
Java 2021-10-23 05:29:13
Java create zip file
import java.io.FileOutputStream; import java.io.IOException; import java.nio.file.*; import java.nio.file.attribute.BasicFileAttributes; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; public class ZipCompress { public static voi... Add solution -
Shell/Bash 2021-10-21 12:09:07
change ps1 variable iterm
When you have iTerm2 installed follow these steps: 1) Open iTerm 2) Click the voice "iTerm2" 3) Select the voice "Install Shell Integration" (it will ask if you want execute the command inside the shell, accept) 4) Type "open... Add solution -
C# 2021-10-21 01:12:09
C# MemoryStream - Timeouts are not supported on this stream
[System.Web.Http.HttpGet] [System.Web.Http.Route("export-to-csv")] public FileStreamResult ExportDeposits([FromUri(Name = "")]DepositSearchParamsVM depositSearchParamsVM) { if (depositSearchParamsVM == null) ... Add solution -
Javascript 2021-10-13 01:14:10
Cypress.currentTest
// cypress/support/index.js function abortEarly () { if ( this.currentTest.state === 'failed' ) { return cy.task('shouldSkip', true); } cy.task('shouldSkip').then( value => { if ( value ) this.skip(); }); } beforeEach(abortEarly); aft... Add solution -
Other 2021-10-10 21:13:02
what are the linux distributions
What are the Linux distributions? Some distros: Ubuntu, Elementary OS, Fedora, Arch Linux, Kabuntu, Deepin, Ubuntu MATE, Debian, Gentoo, Linux Mint, Red Hat Enterprise Linux, CentOS, Kali Linux, OpenSUSE, and many more... The most popular: 1. Ubuntu +... Add solution
Best helpers
Ms.Zizmor
+5
Don Yarber
+5
Mike
+5
Jack Steele
+5
Realh
+5
Bossylobster
+5
Tjb1982
+5
Alana
+5
Mythio
+5
Sharp Wit
+5
Rane Chetan
+5
Hongyan
+5
Christie
+5
Ms.crystal
+5
Robert Astle
+5
Joshua Burns
+5
Sea shell
+5
Zolani13
+5
Meldie Ching
+5
Nancye S....
+5
Oritatami
+5
FirstLegion
+5
S k pandey
+5
Androider
+5