seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
cut -f 1,6 -d, ./data/cleaned_biopics.csv|
tail -n +2 |
sort |
uniq |
cut -d ',' -f 2 |
sort |
uniq -c |
sed -e 's/^ *//;s/ /,/' |
awk 'BEGIN { OFS = ","; FS="," } {print $2, $1}' > output/ba1.txt
echo "Result Generated ! Please check output/ba1.txt"
fi | ise-uiuc/Magicoder-OSS-Instruct-75K |
struct Edge{
int u,v;
Edge(){}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return mapped[node];
}
};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def get_all_tiers():
lst = [
Tier('WebServer', 'Standard', '1.0'),
Tier('Worker', 'SQS/HTTP', '1.0'),
Tier('Worker', 'SQS/HTTP', '1.1'),
Tier('Worker', 'SQS/HTTP', ''),
]
return lst
@staticmethod
def parse_tier(string):
if stri... | ise-uiuc/Magicoder-OSS-Instruct-75K |
}
func applicationWillEnterForeground(_ application: UIApplication) {
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}
func applicationDidBecomeActive(_ application: UIApplication) {
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
<gh_stars>0
def set(name):
ret = {
'name': name,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import argparse
import json
import os
import subprocess
import sys
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import datetime as dt
from django.views import View
from photos.models import Image, category
# Create your views here.
def welcome(request):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<Icon
viewBox="0 0 512 512"
fill="currentcolor"
stroke="currentcolor"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print("PASS: movement")
# Check look at
self.browser.execute_script("viewer.lookAt(-10, 90, 100)")
time.sleep(2)
assert self.browser.execute_script(
"return viewer.getPitch() == -10 && viewer.getYaw() == 90 && viewer.getHfov() == 100"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
static func ==(lhs: WSRequest, rhs: WSRequest) -> Bool {
return lhs.uniqueId == rhs.uniqueId
}
}
/// 请求头部
struct WSRequestHeader {
/// 接口路径
let path: String
/// 请求方法
let method: WSMethod
| ise-uiuc/Magicoder-OSS-Instruct-75K |
});
});
});
| ise-uiuc/Magicoder-OSS-Instruct-75K |
G: A directed networkx graph with the contents of the input.
G_d: A directed networkx graph with the contents of the input after the fixes.
"""
X, G, distances = generate_neuron_shape(swc_file)
endpoints = []
endpoint_vectors = []
endpoint_dirs = []
for i in G.nodes():
i... | ise-uiuc/Magicoder-OSS-Instruct-75K |
0.229345859265920864296e-7,
0.225561444863500149219e-9,
0.947846627503022684216e-12,
0.135880130108924861008e-14,
-0.348890393399948882918e-21,
];
/// Polynomial coefficients for a denominator of `erf_inv_impl`
/// in the interval [0.75, 1] with x greater than 44.
const ERF_INV_IMPL_GD: &'static [f... | ise-uiuc/Magicoder-OSS-Instruct-75K |
from model.group import Group
def test_calculator_2(app):
app.credit_form_case_2(Group(loan = '100000', payment='50000', term='12'))
app.session.submit() | ise-uiuc/Magicoder-OSS-Instruct-75K |
RAIN = 2
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# https://github.com/algolia/algoliasearch-client-python/issues/365
#
| ise-uiuc/Magicoder-OSS-Instruct-75K |
generate each row.
Args:
inx: inx of this row.
result: value of this row.it`s a dictionary, keys can be found
in function processor() in mori.py.
Returns:
None
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def get_sender_data(self, obj):
from user_control.serializers import UserProfileSerializer
x = UserProfileSerializer(obj.sender.user_profile).data
# print("Sender Data : ",x)
return x
| ise-uiuc/Magicoder-OSS-Instruct-75K |
subplot(2,1,1)
plt.plot(ts,np.real(hstrain))
plt.title("h_+ l=%d,m=%d"%(l,m))
plt.gcf().set_size_inches(50, 9)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
SCENARIO("function compiler test", "[function_compiler]") {
GIVEN("a function compiler") {
function_compiler fn_c(
[](const std::valarray<double> &) -> double { return 1; });
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return std::shared_ptr<TimerBase>(new HHWheelTimer());
default:
return nullptr;
}
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
// UIPageController
| ise-uiuc/Magicoder-OSS-Instruct-75K |
namespace Ntreev.Crema.Services
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
yield resource
resource = resource.parent
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import org.apache.log4j.Logger;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriver;
import org.testng.ITestResult;
/**
* It takes a screenshot through the WebDriver.
* Based on https://github.com/yev/seleniumMvnScreenshot
* @author <NAME> <<EMAIL>... | ise-uiuc/Magicoder-OSS-Instruct-75K |
$context(function(){
print_r(func_get_args());
print_r(compact(array_keys(get_defined_vars())));
});
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from .filter import FilterParam
from .pagination import PaginationParam
from .querystr import QueryParser, QueryStrParam
from .sort import SortParam
| ise-uiuc/Magicoder-OSS-Instruct-75K |
In First Order Logic:
E66(x) ⊃ E7(x)
E66(x) ⊃ E63(x)
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mod error;
mod validate;
pub use self::{
error::{TransactionValidationError, TransactionValidationResult},
validate::{
validate, validate_inputs_are_sorted, validate_key_images_are_unique,
validate_masked_token_id_exists, validate_membership_proofs, validate_memo_exists,
validate_no_mas... | ise-uiuc/Magicoder-OSS-Instruct-75K |
* @return mixed
*/
public function getColor()
{
return $this->color;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if (not 0 <= x < row) or (not 0 <= y < column) or board[y][x] == 0 or board[y][x] not in trie[cur_sub_string] or len(res) == len(word_list): return
cur_sub_string += board[y][x]
temp = board[y][x]
board[y][x] = 0
search(word_list, cur_sub_string, x - 1, y)
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
case CompletionDataType.StaticMethod:
case CompletionDataType.StaticVariable:
case CompletionDataType.Unknown:
case CompletionDataType.Variable:
default:
category = DkmEvaluationResultCategory.Dat... | ise-uiuc/Magicoder-OSS-Instruct-75K |
partie = models.ForeignKey(Partie, on_delete=models.CASCADE)
joueur = models.ForeignKey(Joueur, on_delete=models.CASCADE)
score_classement = models.PositiveSmallIntegerField('score ou classement')
class Meta:
unique_together = (('partie', 'joueur'),)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if len(intersection) == 0:
return False
return True
def check_payload(fb_payload, filter_payload) -> bool:
if filter_payload is None or fb_payload == filter_payload:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
bands1, bands2 = data1["output"]["eigenvalues"]['1'], data2["output"]["eigenvalues"]['1']
nk, nbands = len(bands1), len(bands1[0])
for i in range(nk):
for ind in range(nbands):
print(bands1[i][ind][0] - bands2[i][ind][0], bands1[i][ind][1] - bands2[i][ind][1])
return sum(sum(abs(band... | ise-uiuc/Magicoder-OSS-Instruct-75K |
def update_entity(self, id, t, q):
if id not in self.entity_id_map:
raise ValueError("Entity <{}> is not loaded into the simulator".format(id))
base_link_sim_id = self.entity_id_map[id]
t_current, q_current = p.getBasePositionAndOrientation(base_link_sim_id)
update_posit... | ise-uiuc/Magicoder-OSS-Instruct-75K |
const top = Tween[ease](start, scrollY, targetY - scrollY, during);
window.scrollTo(0, top);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@swagger.tags(['coreDataForwardAdd'])
@swagger.response(response_code=201,
description='Added data forward entry to core')
@swagger.reqparser(name='CoreDataForwardParser', parser=parser)
def post(self):
logger.info('Core data forward entry requested')
args = self.pa... | ise-uiuc/Magicoder-OSS-Instruct-75K |
<gh_stars>100-1000
pub mod asts;
pub use self::{
asts::{
AST,
SimpleExpr,
}
};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export const dot = (
flatten: { [key: string]: any },
object: { [key: string]: any },
prefix: string = ''
) => {
flatten = flatten || {}
for (var key in object) {
var value = object[key]
var type = typeof value
flatten[`${prefix}${key}`] = object[key]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
public async void Land()
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
SetMetadata(SCOPE_OPTIONS_METADATA, options)(target);
SetMetadata(TEMPORAL_MODULE_WORKFLOW, options)(target);
};
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def int64_feature(val):
return tf.train.Feature(int64_list = tf.train.Int64List(value=[val]))
def int64_list_feature(val_list):
return tf.train.Feature(int64_list = tf.train.Int64List(value=val_list))
def bytes_feature(val):
return tf.train.Feature(bytes_list = tf.train.BytesList(value=[val]))
def bytes_lis... | ise-uiuc/Magicoder-OSS-Instruct-75K |
int a;
cin>>a;
int c;
double b=0;
for(int i=1;i<=a;i++)
{
cin>>c;
b=b+c;
}
double d=a;
double e=b;
cout<<(b/double(a));
| ise-uiuc/Magicoder-OSS-Instruct-75K |
temp_tax_base = 0
if tax_base <= 1200*MANWON:
temp_tax_base = tax_base*0.06
elif tax_base <= 4600*MANWON:
temp_tax_base = 72*MANWON + (tax_base - 1200*MANWON)*0.15
elif tax_base <= 8800*MANWON:
temp_tax_base = 582*MANWON + (tax_base - 4600*MANWON)*0.24
elif tax_base <= 15000*MANWON:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
beta = np.arctan2(self.loc[1], self.loc[0])
self.alpha = -np.sign(beta) * np.pi / 2 + beta + self.ry
self.score = -1.0
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
if (_maxQueueLength.HasValue)
{
arguments.Add("x-max-length",_maxQueueLength.Value);
arguments.Add("x-overflow", "reject-publish");
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'NetworkResourcePropertiesBase',
'NetworkResourceDescription',
'GatewayDestination',
'TcpConfig',
'HttpRouteMatchPath',
'HttpRouteMatchHeader',
'HttpRouteMatchRule',
'HttpRouteConfig',
'HttpHostConfig',
'HttpConfig',
'GatewayProperties',
'GatewayResourceDescription',
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
/**
* Set conditions that describe when to execute the auto-heal actions.
*
* @param triggers the triggers value to set
* @return the AutoHealRules object itself.
*/
public AutoHealRules withTriggers(AutoHealTriggers triggers) {
this.triggers = triggers;
return this;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
};
}
const kafka1 = new FakeKafka();
const kafka2 = new FakeKafka();
const stream1$ = most.fromEvent("message", kafka1)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
rq.Card32("mask"))
ClientIdValue = rq.Struct(
rq.Object("spec", ClientIdSpec),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
After = Current
});
}
}
public void Dispose()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
extern crate hyper;
#[macro_use]
extern crate lazy_static;
extern crate libc;
extern crate libarchive;
#[macro_use]
extern crate log;
extern crate rand;
extern crate regex;
extern crate serde;
#[macro_use]
extern crate serde_derive;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
};
int main(int argc, char* argv[])
{
const size_t SIZE = (argc >= 2) ? strtoul(argv[1], nullptr, 0) : 16;
#if STXXL_PARALLEL_MULTIWAY_MERGE
LOG1 << "STXXL_PARALLEL_MULTIWAY_MERGE";
| ise-uiuc/Magicoder-OSS-Instruct-75K |
### Standard map, uses current from RunInfo and configuration based on the GT
### (in particular, according to the era)
process.load("Configuration.StandardSequences.MagneticField_cff")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<button type="button" class="btn btn-default" >
<i class="fas fa-undo-alt"></i> {{ __('Regresar') }}
</button>
</a>
</center>
</div>
</div>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
}
left--;
right++;
Console.WriteLine();
}
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if (!taskService)
{
response().addError("Request failed, index task service not found");
return;
}
if (request().callType() != Request::FromAPI)
{
if( !taskService->optimizeIndex() )
response().addError("failed to optimize index.");
return;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def ensure_leak_test_anchor_present():
rules = PFCtl._read_root_rules()
for rule in rules:
if PFCtl.LEAK_TEST_ANCHOR in rule:
L.debug("Leak test anchor {} already present in rules".format(
PFCtl.LEAK_TEST_ANCHOR))
return
rules.... | ise-uiuc/Magicoder-OSS-Instruct-75K |
return
sql = self._create_table_format % (table_name)
data = conn.execute(sql)
conn.refresh_tables_info()
if __name__ == "__main__":
import os
os.chdir("../../")
sys.path.append("./src/frame/")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
)
@pytest.mark.parametrize(
"get_value, get_variation",
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from pyon.public import BadRequest, NotFound, IonObject, RT, PRED, OT, CFG, StreamSubscriber, log
from pyon.ion.identifier import create_simple_unique_id
from ion.data.packet.packet_builder import DataPacketBuilder
from ion.data.persist.hdf5_dataset import DS_BASE_PATH, DS_FILE_PREFIX, DatasetHDF5Persistence, DS_TIMEI... | ise-uiuc/Magicoder-OSS-Instruct-75K |
self._points[:,1] -= np.int16(centerY)
self._points[:,2] -= np.int16(centerZ)
return self
def histogramEqualize(self,scale=30):
# get image histogram
imhist, bins = np.histogram(self._points[:,3],256,density=True)
cdf = imhist.cumsum() # cumulative distributi... | ise-uiuc/Magicoder-OSS-Instruct-75K |
def setUp(self):
self.out_pin = 2
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
UpdateUserProfileDto,
UserProfileApi,
UserProfileControllerCreateRequest,
UserProfileControllerUpdateRequest,
} from '../../gen/fetch'
import { UpdateUserProfileInput } from './dto/updateUserProfileInput'
import { CreateUserProfileInput } from './dto/createUserProfileInput'
import { CreateSmsVerificationInput }... | ise-uiuc/Magicoder-OSS-Instruct-75K |
SLASH = 10
STAR = 11
#one or two character tokens
BANG = 12
BANG_EQUAL = 13
EQUAL = 14
EQUAL_EQUAL = 15
GREATER = 16
GREATER_EQUAL = 17
LESS = 18
LESS_EQUAL = 19
#Literals
IDENTIFIER = 20
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Always allow connection from managesf for all-in-one compatibility
sqls.append("SET PASSWORD FOR '%s'@'managesf.%s' = PASSWORD('%s');" % (
user, fqdn, pwd
))
creds[key] = pwd
open("/etc/puppet/hiera/sf/sfcreds.yaml", "w").write(yaml.dump(creds, default_flow_style=False, Dumper=MyDumper))
ret ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
from . import LOBDeepPP_model
from . import LOBDeepPP_params_files
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from sklearn.feature_extraction.text import TfidfVectorizer, CountVectorizer
from chowmein.data import load_line_corpus
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def gather_candidates(self, context):
with tempfile.NamedTemporaryFile(
mode='w', encoding=self.vars['encoding']) as tf:
args = []
args += self.vars['command']
args += self.vars['options']
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'dense1': BinaryDNN(num_layers=1, layer_params=[[0.25, 0.2]], num_epochs=100, batch_size=64, verbose=0),
'dense2': BinaryDNN(num_layers=2, layer_params=[[0.5, 0.2], [0.5, 0.2]], num_epochs=100, batch_size=64,
verbose=0),
'dense3': BinaryDNN... | ise-uiuc/Magicoder-OSS-Instruct-75K |
""" float: Threshold for the control of the linear distance"""
d_th = 0.4
""" float: Threshold for the control of the orientation"""
beforehit = 0.75
""" float: Threshold for the minm distance before hitting gold"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
// 1-2-1 Grid
func makeGridLayout(in environment: NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection {
let itemSize = NSCollectionLayoutSize(widthDimension: .fractionalWidth(1),
heightDimension: .fractionalWidth(0.30))
let item = NSCo... | ise-uiuc/Magicoder-OSS-Instruct-75K |
from tuiuiu.tests.utils import TuiuiuTestUtils
| ise-uiuc/Magicoder-OSS-Instruct-75K |
lines[0] = MeshViewerToDrawWith.TrackballTumbleWidget.GetScreenPosition(cornerPoint - new Vector3(distToStart * distBetweenPixelsWorldSpace, 0, 0));
lines[1] = MeshViewerToDrawWith.TrackballTumbleWidget.GetScreenPosition(cornerPoint - new Vector3((distToStart + lineLength) * distBetweenPixelsWorldSpace, ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
public List<DeletedObject> objectList() {
return objectList;
}
public List<DeleteError> errorList() {
return errorList;
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import { PartialType } from '@nestjs/swagger';
import { CreateServicesDto } from './create-service.dto';
export class UpdateServiceDto extends PartialType(CreateServicesDto) {}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
FILE_TESTS=`ls tests/MTL-tests-*${filetype} | sed 's:tests/::'`
cp all/MTL-all*${filetype} downloadtable/
FILE_ALL=`ls all/MTL-all-*${filetype} | sed 's:all/::'`
MD5_STANDARD=`md5sum standard/MTL-*${filetype} | sed 's/ .*$//'` ;
MD5_EXAMPLES=`md5sum examples/MTL-examples-*${filetype} | sed 's/ .*$//'` ;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
try:
if tf.getmember(manifest):
return t
except KeyError:
pass
return None
| ise-uiuc/Magicoder-OSS-Instruct-75K |
sort_arr = sorted(arr)
return sort_arr[-1]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pgsiz = self.page_size or len(data[self.collection_field])
url = urlparse(response.request.url)
qs = dict(parse_qsl(url.query))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import sqlite3
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import FWCore.ParameterSet.Config as cms
process = cms.Process("Demo")
process.load("Configuration.Geometry.GeometryExtended2015Reco_cff")
process.load("Geometry.RPCGeometry.rpcGeometry_cfi")
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(1)
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"endpoint": "/v1/mmlogic/tickets:query",
"params": None,
"body": pool_generator(random.choices(ATTRIBUTE_LIST, k=NUM_QUERY_ATTR))
}
method, endpoint, params, data, name = query_payload["method"], query_payload["endpoint"], None, json.dumps(query_payload["body"]), "Query: {}".format(query_paylo... | ise-uiuc/Magicoder-OSS-Instruct-75K |
components.Dispose();
}
base.Dispose(disposing);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language go... | ise-uiuc/Magicoder-OSS-Instruct-75K |
If Any Abuse About This Bot you can report @Yeageristbotsdev
Use /help to know commands and how to use this bot'''
help_text = '''List of commands:
/nh : </nh <hentai code>
The files provided are in multiple qualities to download just open file in chrome
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
<gh_stars>100-1000
from test_module import (module_func_2)
module_func() | ise-uiuc/Magicoder-OSS-Instruct-75K |
{
if (::memcmp(mark, BOM_Bytes[(int)BOM::UTF16LE], 2) == 0)
return BOM::UTF16LE;
else if (::memcmp(mark, BOM_Bytes[(int)BOM::UTF16BE], 2) == 0)
return BOM::UTF16BE;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
rm -rf $mypath
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath $mypath break19.spec
export me="$mypath/break19"
$me --version
export MYVERSION=`$me --version`
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('site_settings', '0004_sitesettings_stripe_product_id'),
('donatio... | ise-uiuc/Magicoder-OSS-Instruct-75K |
pub fn nearest_intersection(&self, ray: &Ray, t_range: RangeInclusive<f64>) -> Option<IntersectRecord<'_>> {
self.iter().fold(None, |nearest_so_far, candidate| {
let range = *t_range.start()
..=nearest_so_far.as_ref().map_or_else(|| *t_range.end(), intersect_record::IntersectReco... | ise-uiuc/Magicoder-OSS-Instruct-75K |
const fn five() -> i32 {
5
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from model.group import group
def test_add_group(app):
app.group.create(group(name="Name", header="Head", footer="Footer"))
def test_add_empty_group(app):
app.group.create(group(name="", header="", footer=""))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public Set<User> getFriendList() {
return friendList;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print("[*] Noodle - Secret writer")
print("[*] This will store your credentials in base64-encoded format.")
print("[*] Noodle needs this to authenticate with Moodle to function.")
print("=" * 48)
try:
with open("secret", "wb") as f:
u = input("Enter username: ")
p = input("Enter password: ")
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
#perform_torque_DeSchutter(M_hat, B_hat, K_hat, x_d_ddot[:,i], x_d_dot[:,i],x_dot, p_d[:,i], Rot_d)
rate.sleep()
# plotting and printing
z_dynamics_history[0][i]=M_hat[2][2]
z_dynamics_history[1][i]=B_hat[2][2]
z_dynamics_history[2][i]=K_hat[2][2]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
public string name = string.Empty;
public int index = 0;
public override string Generate(int indent)
{
return CodeBuilder.Indent(indent) + name + " = " + index.ToString();
}
public override List<string> Usings()
{
return new List<st... | ise-uiuc/Magicoder-OSS-Instruct-75K |
return [DatabaseColumn(col_id, SimpleColumn(col_id)) for col_id in column_ids]
@property
def table_name(self):
return get_table_name(self.config['domain'], FOOD_CONSUMPTION)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.