Skip to content

Instantly share code, notes, and snippets.

View Potential Maintainers
Maintainers:
bkchr: kdeApplications.kitinerary, kpkpass, kpkpass, kdeApplications.kpkpass, kitinerary, kitinerary, kdeApplications.kpkpass, kdeApplications.kitinerary, kpkpass, kitinerary, kdeApplications.kpkpass, kdeApplications.kitinerary
scott-hamilton: kapptemplate, kapptemplate, kapptemplate, kdeApplications.kapptemplate, kdeApplications.kapptemplate, kdeApplications.kapptemplate
vcunat: filelight, kdeApplications.filelight, filelight, kdeApplications.filelight, filelight, kdeApplications.filelight
lheckemann: kdeApplications.konquest, kdeApplications.konquest, kdeApplications.libkdegames, kdeApplications.libkdegames, kdeApplications.libkdegames, kdeApplications.konquest
ttuegel: kdeApplications.spectacle, gwenview, kdeApplications.okular, akregator, kdeApplications.korganizer, kdeApplications.akonadi, kdeApplications.dolphin-plugins, kgpg, kdeApplications.akonadi-mime, kdeApplications.pim-sieve-editor, kcolorchooser, libsForQt514.libkexiv2, libsForQt512.libkdcraw, kdeApplications.kleopatra, kdeApplicati
View Changed Paths
x86_64-linux kblocks
x86_64-linux kdeApplications.kshisen
i686-linux kdeApplications.spectacle
aarch64-linux gwenview
i686-linux kdeApplications.okular
aarch64-linux ksystemlog
i686-linux kdeApplications.marble
i686-linux kdeApplications.picmi
i686-linux kget
aarch64-linux khelpcenter
View actor_critic.py
"""
solving pendulum using actor-critic model
"""
import gym
import numpy as np
from keras.models import Sequential, Model
from keras.layers import Dense, Dropout, Input
from keras.layers.merge import Add, Multiply
from keras.optimizers import Adam
View ML0101EN-Clus-DBSCN-weather-py-v1.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nmiglio
nmiglio / port_fwd.txt
Last active Oct 30, 2020
Set up port forwarding (TCP) on win10
View port_fwd.txt
To port forward 127.0.0.1:3340 to 192.168.0.10:80 in Windows 10:
Launch an Administrator Command Prompt.
netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=3340 connectaddress=192.168.0.10 connectport=80
Check that the port is not already used:
netstat -na|find "3340"
To display a list of all active TCP port forwarding rules on Windows, run the command:
netsh interface portproxy show all
View Fav Example
struct Item {
var price: Int
var count: Int
}
class VendingMachine {
var inventory = [
"Candy Bar": Item(price: 12, count: 7),
"Chips": Item(price: 10, count: 4),
"Pretzels": Item(price: 7, count: 11)
@anderzzz
anderzzz / encoder_init.py
Created Oct 30, 2020
First part of encoder based on VGG16
View encoder_init.py
import torch
from torch import nn
from torchvision import models
class EncoderVGG(nn.Module):
'''Encoder of image based on the architecture of VGG-16 with batch normalization.
Args:
pretrained_params (bool, optional): If the network should be populated with pre-trained VGG parameters.
Defaults to True.
View missed_answerlines.txt
"Pentagon Papers"
"U.S. Secretary of Education"
"Presidential succession"
"tobacco"
"Booker T. Washington"
"Theodore Roosevelt"
"New York"
"Reconquista"
"eminent domain"
"contraception"
View AnimationName-1604067262308-432.css
.css-selector {
    background: linear-gradient(134deg, #06f7b9, #386157);
    background-size: 400% 400%;
    -webkit-animation: AnimationName 0s ease infinite;
    -moz-animation: AnimationName 0s ease infinite;
    -o-animation: AnimationName 0s ease infinite;
    animation: AnimationName 0s ease infinite;
}
@-webkit-keyframes AnimationName {
    0%{background-position:86% 0%}
@asad234
asad234 / Hangman.py
Created Oct 30, 2020
Hangman Game by Abdalla using python
View Hangman.py
import random
import sys
def findloc(alph, word):
i = 0
k = 0
while (i < len(word)):
if (alph == word[i]):
loc.append(i)
You can’t perform that action at this time.