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
| function copyStudentFilesSameFolder() { | |
| var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet(); | |
| // Get the folder where this spreadsheet is located | |
| var file = DriveApp.getFileById(SpreadsheetApp.getActiveSpreadsheet().getId()); | |
| var sourceFolder = file.getParents().next(); | |
| // Set destination folder (replace with your folder ID) | |
| var destinationFolderId = "GET_ID_FROM_URL"; // 👈 Replace with your destination folder ID | |
| var destinationFolder = DriveApp.getFolderById(destinationFolderId); |
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
| ssh -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa ubnt@192.168.88.242 | |
| # enter unifi password = ubnt | |
| set-inform http://192.168.100.211:8080/inform |
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
| import numpy as np | |
| import fasttext | |
| import csv | |
| # Load FastText word embeddings (pre-trained model) | |
| model = fasttext.load_model('models/cc.en.300.bin') | |
| def word_analogy_3cosadd(model, word1, word2, word3, top_k=1): | |
| # Get word vectors | |
| vector1 = model.get_word_vector(word1) |
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
| import pandas as pd | |
| import fasttext | |
| import numpy as np | |
| from scipy.spatial.distance import cosine | |
| from scipy.stats import pearsonr | |
| from scipy.stats import spearmanr | |
| from scipy.stats import kendalltau | |
| # Load pre-trained FastText model | |
| model = fasttext.load_model('models/cc.en.300.bin') |
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
| 0 | JJ_JJR | good | better | rough | rougher | |
|---|---|---|---|---|---|---|
| 1 | JJR_JJ | better | good | rougher | rough | |
| 2 | JJ_JJS | good | best | rough | roughest | |
| 3 | JJS_JJ | best | good | roughest | rough | |
| 4 | JJS_JJR | best | better | roughest | rougher | |
| 5 | JJR_JJS | better | best | rougher | roughest | |
| 6 | JJ_JJR | good | better | mean | meaner | |
| 7 | JJR_JJ | better | good | meaner | mean | |
| 8 | JJ_JJS | good | best | mean | meanest | |
| 9 | JJS_JJ | best | good | meanest | mean |
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
| import fasttext | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| from sklearn.manifold import TSNE | |
| model = fasttext.load_model('models/cc.en.300.bin') | |
| # static keywords | |
| keywords = ['deeds', 'acquisitions', 'skills', 'acquirements', 'attainments', 'achievements'] | |
| keyword_vectors = [] |
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
| version: "3.0" | |
| services: | |
| elasticsearch: | |
| container_name: es-container | |
| image: docker.elastic.co/elasticsearch/elasticsearch:7.11.0 | |
| environment: | |
| - xpack.security.enabled=false | |
| - "discovery.type=single-node" | |
| networks: | |
| - es-net |
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
| ### On Login Script | |
| :put (",,0,,,,Disable,");{ | |
| :local key "KEY DARI WINBOT"; | |
| :local noHP "NO HP TUJUAN"; | |
| :local mac $"mac-address"; | |
| :local device [/ip dhcp-server lease get [find mac-address="$mac"] host-name]; | |
| :local activeCount [/ip hotspot active print count-only]; | |
| /tool fetch url="https://api.mikrotik-winbot.com/api/v1/whatsapp/send_message/$noHP/$key/LOG-IN USER $user -enter-IP Address : $address -enter-Mac Address : $mac -enter-Device : $device -enter-Online : $activeCount Users " mode=http keep-result=no} |
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
| pactl load-module module-null-sink sink_name=Virtual-Speaker sink_properties=device.description=Virtual-Speaker | |
| pactl load-module module-remap-source source_name=Remap-Source master=Virtual-Speaker.monitor |
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
| ^.+(youtube.com|www.youtube.com|m.youtube.com|ytimg.com|s.ytmig.com|ytimg.l.google.com|youtube.l.google.com|i.google.com|googlevideo.com|youtu.be|c.youtube.com|cdn.dailymotion.com|metacafe.com|mccont.com|video|videoplayback|tube).*$ |
NewerOlder