seed stringlengths 1 14k | source stringclasses 2 values |
|---|---|
elif len(t[0]) == 3:
s1 = Statute(t[0][0], t[0][1], t[0][2])
s2 = copy.deepcopy(s1)
assert(s1 == s2)
assert(str(s1) == t[1])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'oper_an_pl' : pl_dict,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if viewControllers.count > 0
{
viewController.hidesBottomBarWhenPushed = true
}
super.pushViewController(viewController, animated: true)
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if kubectl.get(f'ns {deis_instance_id}', required=False):
print(f'updating route name {name} for deis instance {deis_instance_id}')
route_service = kubectl.get_resource('v1', 'Service', name, labels, namespace=deis_instance_id)
route_service['spec'] = {
'ports': [
| ise-uiuc/Magicoder-OSS-Instruct-75K |
emp.setSalary(record.get("Salary"));
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* `ResidualNormReduction` which really requires the `initial_residual` to be
* set.
*/
struct CriterionArgs {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
src = np.array(
[
perspective_params['src']['ul'], # upper left
perspective_params['src']['ur'], # upper right
perspective_params['src']['lr'], # lower right
perspective_params['src']['ll'], # lower left
],
np.int32
)
dst = np.array(
[
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from .create_invitation_request_metadata import CreateInvitationRequestMetadata
from .create_wallet_request import CreateWalletRequest
from .create_wallet_request_key_management_mode import CreateWalletRequestKeyManagementMode
from .create_wallet_request_wallet_dispatch_type import CreateWalletRequestWalletDispatchType
from .create_wallet_request_wallet_type import CreateWalletRequestWalletType
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// WelcomeViewController.swift
// FMIPractice
//
// Created by Spas Bilyarski on 31.10.19.
// Copyright © 2019 bilyarski. All rights reserved.
//
| ise-uiuc/Magicoder-OSS-Instruct-75K |
);
});
it("validates that a `type` is specified", () => {
const errors = validateDocuments(`
fragment FragmentWithArguments on Foo @argumentDefinitions(
requiredArgument: {}
) {
bar
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if code is not None:
print text + ' to code is ' + code
text_restore = code2text(code)
if text_restore is not None:
print code + ' to text is ' + text_restore
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return redirect('/index')
return render_template('contato.html', form=form)
@app.route('/features')
def features():
return render_template('features.html')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
displayObjectSize={false}
/>
<Button onClick={handleClick}>Level Up {characterState.name}</Button>
</BaseWrapper>
);
};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#Subscribe to the "New Person" event from the People Perceptor and use our callback from above as the handler
people_ai.on("new_person_entered_scene", new_person_callback)
#Add the People Perceptor instance to the Pipeline and use the input callback from above as the input preparation handler
pipeline.add_perceptor("peeps", people_ai, input_callback=people_input_callback)
#Update the configuration of the People Perceptor to show the pose landmark dots on the annotated video frame
pipeline.set_perceptor_config("peeps", "show_pose_landmark_dots", True)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
*/
package com.mapbox.mapboxsdk.text;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import java.util.List;
import java.util.Optional;
@Primary
@Repository
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// These are not of much use right now, and may even be removed from the crate, as there is no
/// official language specified by the standard except English.
///
/// [Mnemonic]: ../mnemonic/struct.Mnemonic.html
/// [Seed]: ../seed/struct.Seed.html
#[derive(Debug, Clone, Copy)]
pub enum Language {
English
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
die() {
echo "$@" 1>&2 ; popd 2>/dev/null; exit 1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from .tracked_resource import TrackedResource
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pyvista.global_theme.slider_styles.modern.slider_length = 0.02
| ise-uiuc/Magicoder-OSS-Instruct-75K |
q_values_target_batch = np.ones((len(obs), len(viewix_next_vertex_map[0]))) * 1e9
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def index():
index_app = IndexApplication(**get_post())
cmp_ids = index_app.get_cmp_ids()
if cmp_ids is not None:
call = index_app.get_companies(cmp_ids)
return render_template('index.html', domain=index_app.domain, lang=index_app.lang,
auth_token=index_app.auth_token, ref_token=index_app.ref_token, companies=call)
else:
return render_template('index.html', companies=[{'ID': 0, 'TITLE': 'Ничего не найдено'}])
@app.route('/model_predict', methods=['GET', 'POST'])
def get_result():
index_app = IndexApplication(**get_post())
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.unknown = []
self.selected = []
if names.startswith("+"):
names = "%s,%s" % (names[1:], default)
names = [s.strip() for s in names.split(",")]
names = [s for s in names if s]
seen = {}
for name in names:
found = 0
for i in self.available.values():
if name == "all" or name in i.name:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.assertEqual(user.getProfile()['testfield1'], 'value1')
self.assertEqual(user.getProfile()['testfield2'], 'value2')
for email in self.testUsers:
if email != fakeEmail:
currUser = User.fromEmail(email)
carbonFootprint = data.getCarbonFootprint(currUser)
self.assertEqual(len(carbonFootprint), 12)
if __name__ == '__main__':
etc.configLogging()
unittest.main()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
|lhs: f64, op: Pair<Rule>, rhs: f64| match op.as_rule() {
Rule::add => lhs + rhs,
Rule::subtract => lhs - rhs,
Rule::multiply => lhs * rhs,
Rule::divide => lhs / rhs,
Rule::power => lhs.powf(rhs),
_ => unreachable!(),
},
)
}
pub fn calculate(line: &str) -> Result<pest::iterators::Pairs<'_, Rule>, pest::error::Error<Rule>> {
Calculator::parse(Rule::calculation, line)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def server_monitor():
| ise-uiuc/Magicoder-OSS-Instruct-75K |
sample: "eip-2zee1nu68juox4"
instance_id:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import java.io.Serializable;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ans=[]
for i in range(num+1):
ans.append(bin(i).count('1'))
return ans
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# with open(tblout) as file:
# reader = tblout_reader(file)
# row = next(reader)
# assert row.target_name == "item2"
# assert row.full_sequence.e_value == "1.2e-07"
# assert row.best_1_domain.e_value == "1.2e-07"
# row = next(reader)
# assert row.target_name == "item3"
# assert row.full_sequence.e_value == "1.2e-07"
# assert row.best_1_domain.e_value == "1.2e-07"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
drawmain();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
left_inds, right_inds = get_hemisphere_indices(nodes)
left_adj = adj[left_inds][:, left_inds]
right_adj = adj[right_inds][:, right_inds]
# AB = adj[left_inds][:, right_inds]
# BA = adj[right_inds][:, left_inds]
#%%
max_rank = 64
ase = AdjacencySpectralEmbed(n_components=max_rank)
left_X, left_Y = ase.fit_transform(left_adj)
right_X, right_Y = ase.fit_transform(right_adj)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
$divmail_url = '/?page=mail';
function test_divmail($driver, $base_url) {
global $divmail_url;
login($driver, $base_url, 'admin', 'adm1n');
$driver->get("{$base_url}{$divmail_url}");
take_pageshot($driver, 'divmail');
logout($driver, $base_url);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Assert.IsNotNull(stencil);
graphModel.Stencil = stencil;
if (writeOnDisk)
EditorUtility.SetDirty(this);
return graphModel;
}
void OnEnable()
{
m_GraphModel?.OnEnable();
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
update_client::ActivityDataService*
ChromeUpdateClientConfig::GetActivityDataService() const {
return activity_data_service_.get();
}
bool ChromeUpdateClientConfig::IsPerUserInstall() const {
return component_updater::IsPerUserInstall();
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
void Stream::configureStream(StringMap & settings)
{
//read port from settings
int enabled = (settings.at("streams.Mjpg.enabled") == "true");
int port = std::atoi(settings.at("streams.Mjpg.streamPort").c_str());
int quality = std::atoi(settings.at("streams.Mjpg.quality").c_str());
int fps = std::atoi(settings.at("streams.Mjpg.fps").c_str());
//use port up to well known ports range
if(port >= 1024)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
traits=["brune"],
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def estimate(self, frame):
if first_frame is None:
return None
gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
flow = cv2.calcOpticalFlowFarneback(self.previous_frame, gray, None, 0.5, 1, 20, 1, 5, 1.2, 0)
self.previous_frame = gray
return flow
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# print(prices)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
},
children: [],
},
},
],
success: true,
},
};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
? {
maxHeight: 56,
minHeight: 56,
}
: {
maxHeight: 48,
minHeight: 48,
}),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// Map failed due to implementation specific error.
MapFailed,
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/**
* Deletes an existing Roles model.
* If deletion is successful, the browser will be redirected to the 'index' page.
* @param integer $id
* @return mixed
| ise-uiuc/Magicoder-OSS-Instruct-75K |
$data[$key]['montant_paiement'] = $value->montant_paiement;
$data[$key]['date_paiement'] = $value->date_paiement;
$data[$key]['observation'] = $value->observation;
$data[$key]['validation'] = $value->validation;
$data[$key]['demande_batiment_moe'] = $demande_batiment_moe;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'Lao People\'s Democratic Republic':'Lao',
'Micronesia (Federated States of)':'Micronesia',
'Micronesia (Fed. States of)':'Micronesia',
'Northern Mariana Islands (Commonwealth of the)':'Northern Mariana Islands',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<gh_stars>0
from django.contrib import admin
from .models import Costume
admin.site.register(Costume)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/** @var QueryBuilder $queryBuilder */
$queryBuilder = DbQueryBuilderFactory::make();
$repository = new BugReportRepository($queryBuilder);
$bugReports = $repository->findAll(); | ise-uiuc/Magicoder-OSS-Instruct-75K |
assert not os.path.exists(cfg["output"])
criterion = factory.get_criterion(cfg)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mock_resp.getheader = unittest.mock.MagicMock(return_value = None)
mock_resp.getheaders = unittest.mock.MagicMock(return_value = None)
self.api.api_client.rest_client.GET = unittest.mock.MagicMock(return_value = mock_resp)
expected = ListTemplatesResponse(data = [DocumentTemplate( id=2, name="Light Smoke", type="type_example" )])
actual = self.api.list_templates()
assert actual == expected
def test_list_units_of_measure(self):
resp = {
'status': 200,
'data': b'{"data":["kg", "km"]}',
'reason': "OK"
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import cz.vhromada.web.wicket.controller.Flow;
import org.apache.wicket.model.CompoundPropertyModel;
import org.apache.wicket.protocol.http.WebSession;
import org.mapstruct.factory.Mappers;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.util.Assert;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cc_rows = {MagicMock(geo_id='CA', val=1, se=0, sample_size=0)}
self.assertRaises(Exception, database.insert_or_update_batch, cc_rows)
def test_insert_or_update_batch_row_count_returned(self):
"""Test that the row count is returned"""
mock_connector = MagicMock()
database = Database()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
this.wis = wis;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if let cachedResult = cached[a] {
return cachedResult
}
let result = f(wrap, a)
cached[a] = result
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if __name__ == "__main__":
pkm_spider()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from . import server
| ise-uiuc/Magicoder-OSS-Instruct-75K |
create_post_save = create.GetKernelCopy();
update_post_save = update.GetKernelCopy();
}
int i = BEGIN_FIELDS;
for (; i < INT64_FIELDS_END; ++i) {
EXPECT_EQ(
create_pre_save.ref((Int64Field)i) + (i == TRANSACTION_VERSION ? 1 : 0),
create_post_save.ref((Int64Field)i))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
+ "," + "ORB" + "," + "TRB" + "," + "AST" + "," + "STL" + ","
+ "BLK" + "," + "TOV" + "," + "PF" + "," + "" + "," + "FG" + "," + "FGA" + ","
+ "FG%" + "," + "3P" + "," + "3PA" + "," + "3P%" + "," + "FT" + ","
+ "FTA" + "," + "FT%" + "," + "ORB" + "," + "TRB" + "," + "AST" + ","
+ "STL" + "," + "BLK" + "," + "TOV" + "," + "PF" + "," + "\n")
writer = csv.writer(f)
try:
to_csv = gather_team_data(fetch_page(school))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
this.anim.play();
this.stage.addChild(this.anim);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
super().__init__(scope, id, **kwargs)
source_dir=os.path.split(os.environ['VIRTUAL_ENV'])[0]+'/source'
# //************************************v*************************************************************//
# //***************************** SERVICE ACCOUNT, RBAC and IAM ROLES *******************************//
# //****** Associating IAM role to K8s Service Account to provide fine-grain security control ******//
# //***********************************************************************************************//
# Cluster Auto-scaler
self._scaler_sa = eks_cluster.add_service_account('AutoScalerSa',
name='cluster-autoscaler',
namespace='kube-system'
)
_scaler_role = load_yaml_local(source_dir+'/app_resources/autoscaler-iam-role.yaml')
for statmt in _scaler_role:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
#[doc(hidden)]
pub fn subtract() {
todo!()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
configList[3], "-file", outputPath]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print(testnum * num1 * num2)
break
else:
continue
| ise-uiuc/Magicoder-OSS-Instruct-75K |
user.Record.NormalizedUserName = createUserParams.Username.ToLowerInvariant();
user.Record.HashAlgorithm = "SHA1";
SetPassword(user.Record, createUserParams.Password);
if ( registrationSettings != null ) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pose = *msg;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
diff_percentage = (current_rate - previous_rate) / previous_rate
if percentage:
return diff_percentage * 100
return diff_percentage | ise-uiuc/Magicoder-OSS-Instruct-75K |
registerQuantity("Voltage", "V");
registerQuantity("Current", "A");
registerQuantity("Momentum", "kg m/s");
registerQuantity("Energy", "J");
registerQuantity("Power", "J/s");
registerQuantity("Mass", "kg");
registerQuantity("Area", "m^2");
registerQuantity("Volume", "m^3");
registerQuantity("Displacement", "m^3/rev");
registerQuantity("Density", "kg/m^3");
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pub use self::module::ModuleClient;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from .selfbot import * | ise-uiuc/Magicoder-OSS-Instruct-75K |
}
impl ADC_DCCTL7_CIER {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/**
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* @return AbsoluteTimeOffset
*/
public static AbsoluteTimeOffset parseFromConf(String confParam) {
long timeMillis = TimeUtils.parseTimeMillis(confParam);
return new AbsoluteTimeOffset(timeMillis);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ShowTooltip();
}
} else if(IsCooldown && !IsEmpty){
InventoryManager.Notifications.inCooldown.Show(ObservedItem.Name, (cooldownDuration - (Time.time - cooldownInitTime)).ToString("f2"));
}
}
//Can we use the item
public override bool CanUse()
{
return !IsCooldown && ObservedItem != null;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.pictures.update({mac_address: data})
except Exception as e:
Logger.exception('Pictures: Unable to load <%s>' % picture_path)
self.check_for_device_changes(None)
Clock.schedule_interval(self.check_for_device_changes, 10)
def on_pause(self):
return True
class MainContainer:
pass
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""
Clear the screen of the terminal for the UI
"""
os.system('cls' if os.name == 'nt' else 'clear')
return
def get_start_and_end_dates():
"""
Get the start date and end date from input.geos
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<!-- EDITING LINK -->
<li>
<a href="#" onclick="showAjaxModal('<?php echo base_url();?>modal/popup/modal_add_edit_job/<?php echo $row['job_id'];?>');">
<i class="entypo-pencil">
</i>
<?php echo get_phrase('edit');?>
</a>
</li>
<li class="divider">
</li>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
runtime.spawn(node.serve());
runtime
.block_on(
delay(1000)
.map_err(|_| panic!("Something strange happened"))
.and_then(move |_| {
Client::new()
.get(&format!("http://localhost:{}/rates", http_port))
.send()
.map_err(|_| panic!("Error getting rates"))
.and_then(|mut res| res.json().map_err(|_| panic!("Error getting body")))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
this.builds.add((JSONObject) tmpBuild);
}
JSONObject pagination = (JSONObject) travisResponse.get("@pagination");
JSONObject nextObject = (JSONObject) pagination.get("next");
if (null != nextObject) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
impl Color {
pub fn is_movable(&self) -> bool {
*self != Color::Start && *self != Color::Blank
}
}
#[test]
fn checks_movable() {
assert_eq!(Color::Blue.is_movable(), true);
assert_eq!(Color::Start.is_movable(), false);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
return _infoText;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
m1 = Custom1()
a1: int = m1.x
# This should generate an error because m.x is
# an int and cannot be assigned to str.
b1: str = m1.x
c1: float = m1.y
# This should generate an error because m.y is
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<filename>packages/frontend/plugins/axe.ts
import Vue from 'vue'
if (process.env.NODE_ENV === 'development') {
const VueAxe = require('vue-axe').default
Vue.use(VueAxe, {
delay: 1000,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
*/
public function postProcessUnfilterCategory() {
// Save configuration and redirect employee
Configuration::updateValue('PS_SHOW_CAT_MODULES_' . (int) $this->id_employee, '');
Tools::redirectAdmin(static::$currentIndex . '&token=' . $this->token);
}
public function ajaxProcessDeleteModule() {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import random
from tabulate import tabulate
class Node:
# Parent pointer used for easier in-order traversal function
def __init__(self, value, parent=None):
self.value = value
self.left = None
self.right = None
self.parent = parent
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// <summary>
/// Gets or sets the id of the type
/// </summary>
public long TypeId
{
get;
set;
}
/// <summary>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print table
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// update learning rate/dataset
if (config_.decayRate < 1.0) {
learningRate_ *= config_.decayRate;
}
if (config_.shuffleTrainingSet) {
shuffle();
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
echo "cd /opt/minecraft/survival" >> start.sh
echo "java -Xms${mem}M -Xmx${mem}M -jar server.jar -nogui" >> start.sh
# Set execute permissions on start script and run the updater
chmod +x start.sh
chown minecraft:minecraft start.sh
/updatemc.sh
| ise-uiuc/Magicoder-OSS-Instruct-75K |
chains.add(new DefaultSecurityFilterChain(new AntPathRequestMatcher("/saml/SSO/**"),
samlWebSSOProcessingFilter()));
chains.add(new DefaultSecurityFilterChain(new AntPathRequestMatcher("/saml/SingleLogout/**"),
samlLogoutProcessingFilter()));
return new FilterChainProxy(chains);
}
/**
* Returns the authentication manager currently used by Spring.
* It represents a bean definition with the aim allow wiring from
* other classes performing the Inversion of Control (IoC).
*
* @throws Exception
*/
@Bean(name= "authenticationManager")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from django.contrib import admin
admin.site.register(Cart) | ise-uiuc/Magicoder-OSS-Instruct-75K |
let mut s = "".to_string();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pass
# Inherits from BaseException to avoid being caught when not intended.
class RetryInterrupt(BaseException):
countdown = None
queue = None
def __str__(self):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
path('me/', PersonDetailView.as_view(), name='user-detail'),
path('me/dashboards-widgets/', PersonDashboardsWidgetsView.as_view(), name='user-widgets-dashboards-detail'),
path('admin/users-stacks/', PersonStackViewset.as_view(), name='admin_users-stacks')
]
urlpatterns += router.urls
| ise-uiuc/Magicoder-OSS-Instruct-75K |
assert np.array_equal(z, znp)
return
if __name__ == "__main__":
test()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
$report->display_search();
$report->display_sidebar_search();
echo $reporthtml;
$renderer->export_select($report);
echo $OUTPUT->footer();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* @param array $k Keyboard
* @param bool $rk Rezise keyboard
* @param bool $otk One time keyboard
* @param bool $s Selective
*
* @return string JSON
*/
| ise-uiuc/Magicoder-OSS-Instruct-75K |
partition_access=False)
def open(self, **kwargs):
return 'open_worked' # Don't actually use this plugin
| ise-uiuc/Magicoder-OSS-Instruct-75K |
scJsHost+
"statcounter.com/counter/counter.js'></"+"script>");
</script>
<noscript><div class="statcounter"><a title="hits counter"
href="http://statcounter.com/" target="_blank"><img
class="statcounter"
src="http://c.statcounter.com/9460361/0/266b56c4/1/"
alt="hits counter"></a></div></noscript>
<!-- End of StatCounter Code for Default Guide --> | ise-uiuc/Magicoder-OSS-Instruct-75K |
h2 = mulu.find('h2')
if h2 != None:
h2_title = h2.string
for a in mulu.find(class_='box').find_all('a'):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
echo " Shreding: $filetodel "
| ise-uiuc/Magicoder-OSS-Instruct-75K |
private String password;
@Parameter(name=ApiConstants.ACCOUNT, type=CommandType.STRING, description="an optional account for the vpn user. Must be used with domainId.")
private String accountName;
@Parameter(name=ApiConstants.PROJECT_ID, type=CommandType.UUID, entityType=ProjectResponse.class,
description="add vpn user to the specific project")
private Long projectId;
@Parameter(name=ApiConstants.DOMAIN_ID, type=CommandType.UUID, entityType=DomainResponse.class,
description="an optional domainId for the vpn user. If the account parameter is used, domainId must also be used.")
private Long domainId;
/////////////////////////////////////////////////////
| 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.