What do you want to save?
Add Code snippet
New code examples
-
VBA 2021-10-02 03:21:02
excel vba bold some text in cell
' Occurences of pWord inside pRange's text become bold and red. Case insentive. Sub WordToBold(ByRef pRange As Range, ByVal pWord As String, _ ByRef pPos As Integer) Dim pos As Integer pos = InStr(pPos, pRange.Value, pWord, vbTextCompare) ... Add solution -
Javascript 2021-10-01 21:05:05
convert seconds to minutes javascript
function convertHMS(value) { const sec = parseInt(value, 10); // convert value to number if it's string let hours = Math.floor(sec / 3600); // get hours let minutes = Math.floor((sec - (hours * 3600)) / 60); // get minutes let seconds = ... Add solution -
Other 2021-10-01 14:30:03
grep -r
# EXAMPLE: displays any lines that contain either "include this string" or "this works too" egrep "include this string|this works too" * # SYNTAX: # egrep "<pattern-1>|<pattern-2>" * # egrep is combin... Add solution -
VBA 2021-10-01 13:01:03
vba rename files in a folder
Sub RenameFiles() 'Updateby20141124 Dim xDir As String Dim xFile As String Dim xRow As Long With Application.FileDialog(msoFileDialogFolderPicker) .AllowMultiSelect = False If .Show = -1 Then xDir = .SelectedItems(1) xFile = Dir(xDir & App... Add solution -
Javascript 2021-10-01 12:28:03
how to convert minutes into seconds in javascript
function convertHMS(value) { const sec = parseInt(value, 10); // convert value to number if it's string let hours = Math.floor(sec / 3600); // get hours let minutes = Math.floor((sec - (hours * 3600)) / 60); // get minutes let seconds = ... Add solution -
Javascript 2021-10-01 10:17:04
store data in browser javascript
// localStorage for objects, arrays or any data type var obj = { firstName: "Bob", lastName: "Jeff", age: 13 } localStorage.setItem("itemname", JSON.stringify(obj)); // Save the obj as string var item = JSON.parse(lo... Add solution -
Lua 2021-09-30 08:58:03
FiveM Lua How to create table of all online player id
for _, playerId in ipairs(GetPlayers()) do local name = GetPlayerName(playerId) print(('Player %s with id %i is in the server'):format(name, playerId)) -- ('%s'):format('text') is same as string.format('%s', 'text) end Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5