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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Button with Gear Icon</title> | |
<style> | |
/* Style for the gear icon */ | |
.gear-icon { | |
display: inline-block; | |
width: 16px; | |
height: 16px; |
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
awk '{gsub(/[^a-zA-Z]/,"")}1' | |
keep spaces | |
cat file.txt | awk '{gsub(/[^a-zA-Z ]/,"")}1' | |
keep spaces and dots | |
cat file.txt | awk '{gsub(/[^a-zA-Z .]/,"")}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
def is_valid_state(state): | |
# check if it is a valid solution | |
return True | |
def get_candidates(state): | |
return [] | |
def search(state, solutions): | |
if is_valid_state(state): | |
solutions.append(state.copy()) |
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
using System; | |
using System.IO; | |
using System.Collections.Generic; | |
//source..https://stackoverflow.com/questions/1393178/unauthorizedaccessexception-cannot-resolve-directory-getfiles-failure | |
namespace whatever | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
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
using System; | |
using Makaretu.Dns; | |
// add the Makaretu.Dns.Unicast Nuget package. | |
namespace testing123 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
//add the Makaretu.Dns.Unicast Nuget package. |